-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (41 loc) · 1.19 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
on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI
jobs:
style:
runs-on: ubuntu-latest
name: Style Checks
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Style
run: |
cargo fmt --check
cargo clippy -- -Dclippy::all
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
run: |
cargo run -- sync --tool=miri --bucket=miri-bot-dev
cargo run -- run --tool=miri --bucket=miri-bot-dev --crate-list=ci-crates
cargo run -- sync --tool=asan --bucket=miri-bot-dev
cargo run -- run --tool=asan --bucket=miri-bot-dev --crate-list=ci-crates
cargo run -- sync --tool=build --bucket=miri-bot-dev
cargo run -- run --tool=build --bucket=miri-bot-dev --crate-list=ci-crates