ci(release): build CLI archives for five targets, each on its own architecture #11605
Mergedjuliusmarmingemerged 1 commit into
sea/wsl-archive fromrefs/pull/11605/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- @@ -360,9 +360,18 @@360360 # here means the WSL backend runs the exact bytes a Linux user downloads.361361 build_linux_cli:362- name: Build CLI archive (linux-x64)362+ name: Build CLI archive (linux-${{ matrix.arch }})363363 # Same gating as relay_public_config: only the release commit is needed, so364364 # this runs alongside preflight. See the condition comment there.365365 needs: [resolve_commit, preflight, relay_public_config]366366 if: ${{ !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' }}367- runs-on: blacksmith-32vcpu-ubuntu-2404368- timeout-minutes: 20367+ runs-on: ${{ matrix.runner }}368+ timeout-minutes: 30369+ strategy:370+ fail-fast: false371+ matrix:372+ include:373+ - arch: x64374+ runner: blacksmith-32vcpu-ubuntu-2404375+ rust_target: x86_64-unknown-linux-gnu376+ # node-pty has no Linux prebuild and compiles from source, so the377+ # arm64 archive is built on arm64 hardware rather than cross-built.
- @@ -1058,5 +1247,5 @@1058124710591248 release:10601249 name: Publish GitHub Release1061- needs: [preflight, build, publish_cli]1062- if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && (needs.publish_cli.result == 'success' || (needs.preflight.outputs.release_channel == 'preview' && needs.publish_cli.result == 'skipped')) }}1250+ needs: [preflight, build, build_windows_arm64_cli, publish_cli]1251+ if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && needs.build_windows_arm64_cli.result == 'success' && (needs.publish_cli.result == 'success' || (needs.preflight.outputs.release_channel == 'preview' && needs.publish_cli.result == 'skipped')) }}
juliusmarminge merged this2c54f2f
juliusmarminge closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) reviewed