-
Notifications
You must be signed in to change notification settings - Fork 26
46 lines (39 loc) · 1.15 KB
/
toolchain.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
name: Toolchain Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["**"]
paths:
- "crates/vm/**"
- "extensions/**"
- "crates/toolchain/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
OPENVM_FAST_TEST: "1"
jobs:
tests:
runs-on:
- runs-on=${{ github.run_id }}
- runner=64cpu-linux-arm64
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
# TEMPORARY
- name: Give GitHub Actions access to private repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.GH_ACTIONS_DEPLOY_PRIVATE_KEY }}
- name: Run toolchain tests
working-directory: crates/toolchain/tests
run: |
rustup component add rust-src --toolchain nightly-2024-10-30-aarch64-unknown-linux-gnu
RUST_MIN_STACK=8388608 cargo nextest run --cargo-profile=fast