File tree Expand file tree Collapse file tree 2 files changed +55
-112
lines changed
Expand file tree Collapse file tree 2 files changed +55
-112
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test fft-convolution
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ env :
8+ CARGO_TERM_COLOR : always
9+
10+ jobs :
11+ format :
12+ name : Check Format
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Install Rust
18+ uses : dtolnay/rust-toolchain@stable
19+ with :
20+ components : rustfmt
21+ - name : Check formatting
22+ run : cargo fmt --check
23+
24+ build :
25+ name : Build and Test
26+ needs : format
27+ strategy :
28+ matrix :
29+ os : [macos-14, macos-15, ubuntu-22.04]
30+ include :
31+ - os : macos-14
32+ target : x86_64-apple-darwin
33+ - os : macos-15
34+ target : aarch64-apple-darwin
35+ - os : ubuntu-22.04
36+ target : x86_64-unknown-linux-gnu
37+ runs-on : ${{ matrix.os }}
38+
39+ steps :
40+ - uses : actions/checkout@v4
41+
42+ - name : Install Rust
43+ uses : dtolnay/rust-toolchain@stable
44+ with :
45+ targets : ${{ matrix.target }}
46+
47+ - name : Rust Cache
48+ uses : Swatinem/rust-cache@v2
49+
50+ - name : Build
51+ run : cargo build --release --target ${{ matrix.target }}
52+
53+ - name : Run tests
54+ run : cargo test --release --target ${{ matrix.target }}
55+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments