File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 2626 test : |
2727 cargo test -p utoo-pm --target x86_64-unknown-linux-gnu -- --nocapture
2828
29+ - host : ubuntu-22.04-arm
30+ target : aarch64-unknown-linux-gnu
31+ test : |
32+ cargo test -p utoo-pm --target aarch64-unknown-linux-gnu -- --nocapture
33+
2934 name : utoopm-ci-${{ matrix.settings.target }}
3035 runs-on : ${{ matrix.settings.host }}
3136 steps :
Original file line number Diff line number Diff line change 2626 platform_os : darwin
2727 platform_cpu : arm64
2828
29+ - os : ubuntu-22.04-arm
30+ target : aarch64-unknown-linux-gnu
31+ platform_os : linux
32+ platform_cpu : arm64
33+
2934 runs-on : ${{ matrix.os }}
3035 container :
3136 image : ${{ matrix.container }}
3843
3944 steps :
4045 - name : Install Linux Dependencies
41- if : ${{ matrix.platform_os == 'linux' }}
46+ if : ${{ matrix.platform_os == 'linux' && matrix.platform_cpu == 'x64' }}
4247 env :
4348 DEBIAN_FRONTEND : noninteractive
4449 run : |
9196 if : ${{ matrix.target == 'x86_64-apple-darwin' }}
9297 run : rustup target add x86_64-apple-darwin
9398
99+ - name : Add cross-compilation target for aarch64 on Linux
100+ if : ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
101+ run : rustup target add aarch64-unknown-linux-gnu
102+
94103 - name : Add SSH private keys for submodule repositories
95104 uses : webfactory/ssh-agent@v0.7.0
96105 with :
Original file line number Diff line number Diff line change 1313 },
1414 "optionalDependencies": {
1515 "@utoo/utoo-linux-x64": "{{version}}",
16+ "@utoo/utoo-linux-arm64": "{{version}}",
1617 "@utoo/utoo-darwin-x64": "{{version}}",
1718 "@utoo/utoo-darwin-arm64": "{{version}}"
1819 },
You can’t perform that action at this time.
0 commit comments