File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
2118jobs :
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
7161 body : |
7262 - ${{ github.event.head_commit.message }} ${{ github.sha }}
7363 generate_release_notes : true
74-
75-
76-
You can’t perform that action at this time.
0 commit comments