File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,20 @@ jobs:
3131 package_version : ${{ env.PACKAGE_VERSION }}
3232
3333 build :
34- name : build
35- needs : [ create_release ]
36- runs-on : ubuntu-latest
3734 strategy :
3835 matrix :
3936 target : [ x86_64-unknown-linux-musl, aarch64-unknown-linux-musl ]
4037 include :
4138 - target : x86_64-unknown-linux-musl
4239 strip : strip
40+ os : ubuntu-latest
4341 - target : aarch64-unknown-linux-musl
4442 strip : aarch64-linux-musl-strip
43+ os : ubuntu-24.04-arm
44+
45+ name : build
46+ needs : [ create_release ]
47+ runs-on : ${{ matrix.os }}
4548 steps :
4649 - name : Checkout repository
4750 uses : actions/checkout@v2
@@ -56,21 +59,12 @@ jobs:
5659 override : true
5760 target : ${{ matrix.target }}
5861
59- - name : Install cross compile toolchains
60- if : ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
61- run : |
62- curl -O https://musl.cc/aarch64-linux-musl-cross.tgz
63- tar xzf aarch64-linux-musl-cross.tgz
64- sudo cp -R aarch64-linux-musl-cross/* /usr
65-
6662 - name : Build target
6763 uses : actions-rs/cargo@v1
6864 with :
69- use-cross : true
7065 command : build
7166 args : --release --locked --target ${{ matrix.target }}
7267
73-
7468 - name : Build archive
7569 shell : bash
7670 run : |
You can’t perform that action at this time.
0 commit comments