Skip to content

Commit

Permalink
Only build Linux in automated preview builds
Browse files Browse the repository at this point in the history
This is the only build we use in automated deploy tests and when doing ad-hoc syncs.
The full matrix is still available by just re-running the workflow or manually starting one.
Apple resources are scarce and scaling them up is not trivial at the moment.
  • Loading branch information
eps1lon committed Sep 16, 2024
1 parent 76cc22d commit 477eea4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,20 @@ jobs:
fail-fast: false
matrix:
exclude:
# only build the binaries we usually test with
# darwin arm64, windows x64, linux GNU x64
# only build the binaries we run automated tests against
# linux GNU x64
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'i686-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-apple-darwin' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-unknown-linux-gnu' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-unknown-linux-musl' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'x86_64-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'x86_64-unknown-linux-musl' }}
- settings:
Expand Down

0 comments on commit 477eea4

Please # to comment.