Skip to content

Commit 8e38833

Browse files
committed
Auto merge of rust-lang#12920 - jonas-schievink:arm-release, r=jonas-schievink
feat: Publish extension for 32-bit ARM systems
2 parents 5edbdd1 + c71f1e7 commit 8e38833

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
FETCH_DEPTH: 0 # pull in the tags for the version string
1919
MACOSX_DEPLOYMENT_TARGET: 10.15
2020
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
21+
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc
2122

2223
jobs:
2324
dist:
@@ -36,6 +37,9 @@ jobs:
3637
- os: ubuntu-18.04
3738
target: aarch64-unknown-linux-gnu
3839
code-target: linux-arm64
40+
- os: ubuntu-18.04
41+
target: arm-unknown-linux-gnueabihf
42+
code-target: linux-armhf
3943
- os: macos-11
4044
target: x86_64-apple-darwin
4145
code-target: darwin-x64
@@ -67,13 +71,17 @@ jobs:
6771
node-version: 14.x
6872

6973
- name: Update apt repositories
70-
if: matrix.target == 'aarch64-unknown-linux-gnu'
74+
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'arm-unknown-linux-gnueabihf'
7175
run: sudo apt-get update
7276

73-
- name: Install target toolchain
77+
- name: Install AArch64 target toolchain
7478
if: matrix.target == 'aarch64-unknown-linux-gnu'
7579
run: sudo apt-get install gcc-aarch64-linux-gnu
7680

81+
- name: Install ARM target toolchain
82+
if: matrix.target == 'arm-unknown-linux-gnueabihf'
83+
run: sudo apt-get install gcc-arm-linux-gnueabihf
84+
7785
- name: Dist
7886
run: cargo xtask dist --client-patch-version ${{ github.run_number }}
7987

@@ -204,6 +212,10 @@ jobs:
204212
with:
205213
name: dist-aarch64-unknown-linux-gnu
206214
path: dist
215+
- uses: actions/download-artifact@v1
216+
with:
217+
name: dist-arm-unknown-linux-gnueabihf
218+
path: dist
207219
- uses: actions/download-artifact@v1
208220
with:
209221
name: dist-x86_64-pc-windows-msvc

0 commit comments

Comments
 (0)