forked from paritytech/rustc-rv32e-toolchain
-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (50 loc) · 1.4 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI
on:
workflow_dispatch:
pull_request:
branches:
- "**"
paths-ignore:
- README.md
jobs:
build:
strategy:
matrix:
include:
- runner: [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
os: ubuntu
- runner: [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
os: ubuntu
- runner: self-hosted
os: macos
- runner: macos-13
os: macos
runs-on: ${{ matrix.runner }}
timeout-minutes: 120
steps:
- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-05-29
- uses: lukka/get-cmake@v3.30.2
- name: Show rust version
run: |
cargo version
rustup toolchain list
- name: Check out athenavm/rustc-rv32e-toolchain
uses: actions/checkout@v4
with:
submodules: recursive
path: toolchain
- name: Check out athenavm/athena
uses: actions/checkout@v4
with:
repository: athenavm/athena
ref: main
path: athena
- name: Build
run:
GITHUB_ACTIONS=false ATHENA_BUILD_DIR=$GITHUB_WORKSPACE/toolchain cargo run --bin cargo-athena -- athena
build-toolchain
working-directory: athena