File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 4646 run : cargo build --tests --release
4747 - name : cargo test
4848 run : cargo test --release
49+
50+ build-aarch64-apple-darwin :
51+ name : Build aarch64-apple-darwin
52+ strategy :
53+ matrix :
54+ os : [macOS-latest]
55+ runs-on : ${{ matrix.os }}
56+ steps :
57+ - uses : actions/checkout@v2
58+ - uses : actions-rs/toolchain@v1
59+ with :
60+ toolchain : stable
61+ override : true
62+ - run : rustup target add aarch64-apple-darwin
63+ - run : cargo fetch --target aarch64-apple-darwin
64+ - run : cargo build --release --target aarch64-apple-darwin
4965
5066 deny-check :
5167 name : cargo-deny
@@ -118,12 +134,6 @@ jobs:
118134 if : matrix.os == 'ubuntu-20.04'
119135 run : |
120136 sudo apt-get install -y musl-tools
121- - name : Workaround xcode shenanigans
122- if : matrix.target == 'aarch64-apple-darwin'
123- # https://github.com/actions/virtual-environments/issues/2557#issuecomment-769611326
124- run : |
125- sudo xcode-select -s "/Applications/Xcode_12.3.app"
126- sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
127137 - name : Checkout
128138 uses : actions/checkout@v2
129139 - name : cargo fetch
You can’t perform that action at this time.
0 commit comments