Skip to content

Commit

Permalink
Don't let nightly builds fail CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sirhcel committed Mar 28, 2024
1 parent 8d94b1a commit 6b84960
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
toolchain:
default: stable
type: string
continue-on-error:
default: false
type: boolean

env:
# While we could define these on a per-job basis, there's no harm in simply
Expand Down Expand Up @@ -52,6 +55,7 @@ env:
jobs:
build:
runs-on: ${{ inputs.runs_on }}
continue-on-error: ${{ inputs.continue-on-error }}
steps:
- name: Build | install dependencies
if: inputs.runs_on == 'ubuntu-latest'
Expand Down
22 changes: 14 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,24 +245,30 @@ jobs:
disable_tests: true
target: x86_64-unknown-netbsd

# --------------------------------------------------------------------------
# NIGHTLY BUILD

aarch64-apple-darwin-nightly:
uses: ./.github/workflows/build.yaml
with:
continue-on-error: true
disable_tests: true
runs_on: macos-latest
target: aarch64-apple-darwin
toolchain: nightly

x86_64-pc-windows-msvc-nightly:
uses: ./.github/workflows/build.yaml
with:
continue-on-error: true
runs_on: windows-2019
target: x86_64-pc-windows-msvc
toolchain: nightly

x86_64-unknown-linux-gnu-nightly:
uses: ./.github/workflows/build.yaml
with:
continue-on-error: true
extra_packages: libudev-dev
target: x86_64-unknown-linux-gnu
toolchain: nightly

aarch64-apple-darwin-nightly:
uses: ./.github/workflows/build.yaml
with:
disable_tests: true
runs_on: macos-latest
target: aarch64-apple-darwin
toolchain: nightly

0 comments on commit 6b84960

Please sign in to comment.