-
Notifications
You must be signed in to change notification settings - Fork 17
39 lines (39 loc) · 958 Bytes
/
ci.yaml
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
name: ci
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
lint:
runs-on: ubuntu-latest
name: Run clippy
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup
uses: dtolnay/rust-toolchain@stable
env:
LLVM_SYS_150_PREFIX: ~/.wasker/clang+llvm-15.0.0-x86_64-linux-gnu-rhel-8.4
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
test:
runs-on: ubuntu-latest
name: Run test
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup
uses: dtolnay/rust-toolchain@stable
env:
LLVM_SYS_150_PREFIX: ~/.wasker/clang+llvm-15.0.0-x86_64-linux-gnu-rhel-8.4
- name: Run test
run: cargo test --all -- --nocapture