Skip to content

Commit 3e4a741

Browse files
committed
ci: build ARM64 only with cmake/nasm for BoringSSL
1 parent 7b08bf9 commit 3e4a741

1 file changed

Lines changed: 10 additions & 23 deletions

File tree

.github/workflows/build-artifacts.yaml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ on:
1010
release:
1111
types: [published]
1212

13-
env:
13+
env:
1414
CARGO_TERM_COLOR: always
15-
1615
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc
1716
CC_aarch64_unknown_linux_musl: aarch64-linux-gnu-gcc
18-
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER: arm-linux-gnueabihf-gcc
19-
CC_armv7_unknown_linux_musleabihf: arm-linux-gnueabihf-gcc
2017

2118
jobs:
2219
build:
@@ -25,30 +22,23 @@ jobs:
2522
strategy:
2623
matrix:
2724
target:
28-
- x86_64-unknown-linux-musl
2925
- aarch64-unknown-linux-musl
30-
- armv7-unknown-linux-musleabihf
3126
steps:
3227
- uses: actions/checkout@v4
33-
28+
3429
- uses: actions-rust-lang/setup-rust-toolchain@v1
3530
with:
3631
target: ${{ matrix.target }}
37-
38-
- if: matrix.target == 'x86_64-unknown-linux-musl'
39-
run: |
40-
sudo apt-get update
41-
sudo apt-get install -y --no-install-recommends musl-tools
42-
43-
- if: matrix.target == 'armv7-unknown-linux-musleabihf'
44-
run: |
45-
sudo apt update
46-
sudo apt install -y gcc-arm-linux-gnueabihf musl-tools
4732

48-
- if: matrix.target == 'aarch64-unknown-linux-musl'
33+
- name: Install cross-compilation dependencies
4934
run: |
50-
sudo apt update
51-
sudo apt install -y gcc-aarch64-linux-gnu musl-tools
35+
sudo apt-get update
36+
sudo apt-get install -y --no-install-recommends \
37+
gcc-aarch64-linux-gnu \
38+
musl-tools \
39+
cmake \
40+
nasm \
41+
clang
5242
5343
- name: Versions
5444
id: version
@@ -71,6 +61,3 @@ jobs:
7161
body: |
7262
- ${{ github.event.head_commit.message }} ${{ github.sha }}
7363
generate_release_notes: true
74-
75-
76-

0 commit comments

Comments
 (0)