-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 906 Bytes
/
test.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
name: Test
on:
push:
branches: [ main ]
paths:
- 'arbi/**'
- 'examples/**'
pull_request:
branches: [ main ]
paths:
- 'arbi/**'
- 'examples/**'
workflow_dispatch:
jobs:
rust-stable-build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup override set stable
- run: cargo build --verbose
- run: cargo test --verbose --features "std,rand"
rust-1point65-build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install 1.65.0 && rustup override set 1.65.0
- run: cargo build --verbose
- run: cargo test --verbose --features "std,rand"