Skip to content

Commit ca5d437

Browse files
authored
drop arm builds for test.
1 parent 15d728a commit ca5d437

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/test.yml

+3-20
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,28 @@ jobs:
1616
target: x86_64-pc-windows-msvc
1717
code-target: win32-x64
1818

19-
- os: windows-latest
20-
target: aarch64-pc-windows-msvc
21-
code-target: win32-arm64
22-
2319
- os: ubuntu-latest
2420
target: x86_64-unknown-linux-gnu
2521
code-target: linux-x64
2622

27-
- os: ubuntu-20.04
28-
target: aarch64-unknown-linux-gnu
29-
code-target: linux-arm64
30-
3123
- os: macos-latest
3224
target: x86_64-apple-darwin
3325
code-target: darwin-x64
3426

35-
- os: macos-latest
36-
target: aarch64-apple-darwin
37-
code-target: darwin-arm64
38-
3927
name: Build & Test on ${{ matrix.code-target }}
4028
runs-on: ${{ matrix.os }}
4129
steps:
4230
- uses: actions/checkout@v3
43-
- run: rustup target add ${{ matrix.target }}
44-
- name: Install arm64 toolchain
45-
if: matrix.code-target == 'linux-arm64'
46-
run: |
47-
sudo apt-get update
48-
sudo apt-get install -y gcc-aarch64-linux-gnu
31+
- run: rustup target add ${{ matrix.target }
4932
- name: Cache
5033
uses: Swatinem/rust-cache@v2
5134
with:
5235
shared-key: release-${{ matrix.target }}
5336
- name: Test
54-
run: cargo test --target ${{ matrix.target }}
37+
run: cargo test
5538
env:
5639
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
5740
- name: Coverage
58-
run: cargo coverage --diff --target ${{ matrix.target }}
41+
run: cargo coverage --diff
5942
env:
6043
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc

0 commit comments

Comments
 (0)