Skip to content

Commit 9b2f4e9

Browse files
committed
experimental ci
1 parent c64231c commit 9b2f4e9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
ci:
14+
name: CI
15+
needs: [test, clippy]
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Done
19+
run: exit 0
20+
21+
test:
22+
name: Test
23+
strategy:
24+
matrix:
25+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
26+
rust: ["stable"]
27+
continue-on-error: ${{ matrix.rust != 'stable' }}
28+
runs-on: ${{ matrix.os }}
29+
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: Build
33+
run: cargo test --no-run --workspace
34+
- name: Run tests
35+
run: cargo test --workspace
36+
37+
clippy:
38+
name: Clippy
39+
runs-on: ubuntu-latest
40+
41+
steps:
42+
- name: Clippy
43+
run: cargo clippy

0 commit comments

Comments
 (0)