File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1919 - target : x86_64-unknown-linux-musl
2020 os : ubuntu-latest
2121 - target : aarch64-unknown-linux-musl
22- os : ubuntu-latest
22+ os : ubuntu-24.04-arm
2323
2424 steps :
2525 - uses : actions/checkout@v4
3333 sudo apt-get update
3434 sudo apt-get install -y musl-tools
3535
36- - name : Install musl cross-compiler
37- if : matrix.target == 'aarch64-unknown-linux-musl'
38- run : |
39- curl -sSL https://musl.cc/aarch64-linux-musl-cross.tgz | tar xzf - -C /opt
40- echo "/opt/aarch64-linux-musl-cross/bin" >> "$GITHUB_PATH"
41- echo "CC_aarch64_unknown_linux_musl=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc" >> "$GITHUB_ENV"
42- echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc" >> "$GITHUB_ENV"
43-
4436 - name : Build
4537 run : cargo build --release --locked --target ${{ matrix.target }}
4638
You can’t perform that action at this time.
0 commit comments