File tree 1 file changed +3
-20
lines changed
1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -16,45 +16,28 @@ jobs:
16
16
target : x86_64-pc-windows-msvc
17
17
code-target : win32-x64
18
18
19
- - os : windows-latest
20
- target : aarch64-pc-windows-msvc
21
- code-target : win32-arm64
22
-
23
19
- os : ubuntu-latest
24
20
target : x86_64-unknown-linux-gnu
25
21
code-target : linux-x64
26
22
27
- - os : ubuntu-20.04
28
- target : aarch64-unknown-linux-gnu
29
- code-target : linux-arm64
30
-
31
23
- os : macos-latest
32
24
target : x86_64-apple-darwin
33
25
code-target : darwin-x64
34
26
35
- - os : macos-latest
36
- target : aarch64-apple-darwin
37
- code-target : darwin-arm64
38
-
39
27
name : Build & Test on ${{ matrix.code-target }}
40
28
runs-on : ${{ matrix.os }}
41
29
steps :
42
30
- 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 }
49
32
- name : Cache
50
33
uses : Swatinem/rust-cache@v2
51
34
with :
52
35
shared-key : release-${{ matrix.target }}
53
36
- name : Test
54
- run : cargo test --target ${{ matrix.target }}
37
+ run : cargo test
55
38
env :
56
39
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER : aarch64-linux-gnu-gcc
57
40
- name : Coverage
58
- run : cargo coverage --diff --target ${{ matrix.target }}
41
+ run : cargo coverage --diff
59
42
env :
60
43
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER : aarch64-linux-gnu-gcc
You can’t perform that action at this time.
0 commit comments