Skip to content

Commit

Permalink
gpu-dawn: CI: prevent infinite loop of build -> release -> build -> r…
Browse files Browse the repository at this point in the history
…elease

Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
slimsag committed Feb 13, 2022
1 parent 1729f15 commit 1fd9b15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
# TODO(build-system): enable x86 Linux CI here, dependency cycle in build.zig
# x86_64-linux:
# if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }}
# 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.
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO(build-system): enable windows CI here once gpu-dawn builds under Windows
# x86_64-windows:
# if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }}
# 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.
Expand All @@ -59,6 +61,7 @@ jobs:
# run: zig build install -Dfrom-source=true
# # TODO: upload step for Windows
x86_64-macos:
if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }}
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.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/m1_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- completed
jobs:
aarch64-macos:
if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }}
runs-on: [self-hosted, macOS, ARM64]
defaults:
run:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- completed
jobs:
publish:
if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 1fd9b15

Please sign in to comment.