@@ -13,18 +13,22 @@ jobs:
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- runner :
17
- - [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
18
- - [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
19
- - self-hosted
20
- - macos-13
16
+ include :
17
+ - runner : [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
18
+ os : ubuntu
19
+ - runner : [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
20
+ os : ubuntu
21
+ - runner : self-hosted
22
+ os : macos
23
+ - runner : macos-13
24
+ os : macos
21
25
runs-on : ${{ matrix.runner }}
22
26
steps :
23
27
- name : Install nightly toolchain
24
28
id : rustc-toolchain
25
29
uses : actions-rs/toolchain@v1
26
30
with :
27
- toolchain : nightly-2024-01-25
31
+ toolchain : nightly-2024-05-29
28
32
default : true
29
33
30
34
- uses : lukka/get-cmake@v3.27.4
35
39
rustup toolchain list
36
40
37
41
- name : Check out athenavm/rustc-rv32e-toolchain
38
- uses : actions/checkout@v3
42
+ uses : actions/checkout@v4
39
43
with :
40
44
submodules : recursive
41
45
path : toolchain
47
51
ref : main
48
52
path : athena
49
53
54
+ - name : Install ninja and riscv-tools
55
+ if : matrix.os == 'ubuntu'
56
+ run : |
57
+ sudo apt update
58
+ sudo apt-get -y install ninja-build gcc-riscv64-unknown-elf
59
+
60
+ - name : Install ninja and riscv-tools
61
+ if : matrix.os == 'macos'
62
+ run : |
63
+ brew install ninja
64
+ brew tap riscv-software-src/riscv
65
+ brew install riscv-tools
66
+
50
67
- name : Build
51
68
run :
52
69
GITHUB_ACTIONS=false ATHENA_BUILD_DIR=$GITHUB_WORKSPACE/toolchain cargo run --bin cargo-athena -- athena
0 commit comments