1 parent dae9bda commit ad0a9b0Copy full SHA for ad0a9b0
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+---
2
+name: CI
3
+
4
+on:
5
+ push:
6
+ pull_request:
7
+ workflow_dispatch:
8
9
+jobs:
10
+ ci:
11
+ strategy:
12
+ matrix:
13
+ include:
14
+ - image: ubuntu-latest
15
+ target: x86_64-unknown-linux-gnu
16
+ - image: windows-latest
17
+ target: x86_64-pc-windows-msvc
18
+ runs-on: ${{ matrix.image }}
19
+ timeout-minutes: 15
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions-rust-lang/setup-rust-toolchain@v1
23
+ with:
24
+ components: clippy, rustfmt
25
+ rustflags: ""
26
+ target: ${{ matrix.target }}
27
+ - run: cargo fmt --check
28
+ - run: cargo clippy
29
+ - run: cargo build --release
0 commit comments