Merge lp:~jelmer/brz/rustup-targets into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 7722
Merged at revision: 7667
Proposed branch: lp:~jelmer/brz/rustup-targets
Merge into: lp:brz
Diff against target: 28 lines (+4/-5)
1 file modified
.github/workflows/wheels.yaml (+4/-5)
To merge this branch: bzr merge lp:~jelmer/brz/rustup-targets
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+432602@code.launchpad.net

Commit message

Install all rust targets when building whels.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.github/workflows/wheels.yaml'
2--- .github/workflows/wheels.yaml 2022-11-04 13:04:14 +0000
3+++ .github/workflows/wheels.yaml 2022-11-05 03:22:55 +0000
4@@ -43,20 +43,19 @@
5 - name: Build wheels
6 run: python -m cibuildwheel --output-dir wheelhouse
7 env:
8- CIBW_ARCHS_LINUX: x86_64
9- CIBW_ARCHS_MACOS: x86_64 universal2
10- # ARM builds fail at the moment:
11- # CIBW_ARCHS_LINUX: x86_64 aarch64
12- # CIBW_ARCHS_MACOS: x86_64 arm64 universal2
13+ CIBW_ARCHS_LINUX: x86_64 aarch64
14+ CIBW_ARCHS_MACOS: x86_64 arm64 universal2
15 CIBW_SKIP: '*-win32'
16 CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
17 CIBW_BEFORE_BUILD: >
18 pip install -U setuptools-rust &&
19 rustup default nightly &&
20+ rustup target add all &&
21 rustup show
22 CIBW_BEFORE_BUILD_LINUX: >
23 pip install -U setuptools-rust &&
24 curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=nightly --profile=minimal -y &&
25+ rustup target add all &&
26 rustup show
27 - name: Upload wheels
28 uses: actions/upload-artifact@v3

Subscribers

People subscribed via source and target branches