File tree 1 file changed +34
-7
lines changed
1 file changed +34
-7
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-latest
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ include :
18
+ - TARGET : x86_64-unknown-linux-gnu
19
+ OS : ubuntu-latest
20
+ - TARGET : aarch64-unknown-linux-gnu
21
+ OS : ubuntu-latest
22
+ - TARGET : i686-unknown-linux-gnu
23
+ OS : ubuntu-latest
24
+
25
+ runs-on : ${{ matrix.OS }}
26
+ env :
27
+ TARGET : ${{ matrix.TARGET }}
15
28
16
29
steps :
17
30
- uses : actions/checkout@v2
@@ -24,14 +37,28 @@ jobs:
24
37
toolchain : nightly
25
38
default : true
26
39
profile : minimal
40
+ target : ${{ matrix.target }}
41
+ components : llvm-tools-preview
27
42
43
+ - name : Build rsdp, acpi, and aml
44
+ run : cargo build -p rsdp -p acpi -p aml --target $TARGET
45
+
46
+ test :
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - uses : actions/checkout@v2
50
+ with :
51
+ submodules : ' recursive'
52
+ - name : Install Rust
53
+ uses : actions-rs/toolchain@v1
54
+ with :
55
+ toolchain : nightly
56
+ default : true
57
+ profile : minimal
58
+
28
59
- name : Install dependencies
29
- run : |
30
- sudo apt-get install -y acpica-tools
31
-
32
- - name : Build
33
- run : cargo build --all
34
-
60
+ run : sudo apt-get install -y acpica-tools
61
+
35
62
- name : Run tests
36
63
run : cargo test --all
37
64
You can’t perform that action at this time.
0 commit comments