mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Limit CI jobs to particular branches.
This commit is contained in:
parent
f4271e9f3f
commit
f165e17ce2
1 changed files with 18 additions and 0 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
@ -17,6 +17,9 @@ jobs:
|
|||
name: Build (Windows)
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
@ -41,6 +44,9 @@ jobs:
|
|||
name: Build (Windows UWP x64)
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
@ -66,6 +72,9 @@ jobs:
|
|||
name: Build (Windows UWP arm64)
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
@ -89,6 +98,9 @@ jobs:
|
|||
name: Build (macOS)
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-mac', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
@ -181,6 +193,9 @@ jobs:
|
|||
name: Build (Linux)
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-linux refs/heads/try-wpt', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
@ -214,6 +229,9 @@ jobs:
|
|||
matrix:
|
||||
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||
steps:
|
||||
- name: Branch check
|
||||
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-wpt', github.ref) }}
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue