CI: do not duplicate push/pull_request checks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9d5e849efb
commit
66a41a00e8
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
x86_64-linux:
|
x86_64-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||||
|
# to the branch.
|
||||||
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
@ -27,6 +30,9 @@ jobs:
|
||||||
run: cd webgpu && zig build test
|
run: cd webgpu && zig build test
|
||||||
x86_64-windows:
|
x86_64-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||||
|
# to the branch.
|
||||||
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
@ -56,6 +62,9 @@ jobs:
|
||||||
run: cd webgpu && zig build test
|
run: cd webgpu && zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||||
|
# to the branch.
|
||||||
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue