Skip to content

Commit cca3b9a

Browse files
committed
Add test build script
1 parent b0cbe25 commit cca3b9a

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/build_test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build and Test
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+
build-linux:
14+
runs-on: windows-latest
15+
strategy:
16+
matrix:
17+
toolchain:
18+
- stable
19+
- beta
20+
- nightly
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Setup dependencies
24+
run: |
25+
rustup update ${{ matrix.toolchain }}
26+
rustup default ${{ matrix.toolchain }}
27+
28+
- name: Build
29+
run: |
30+
powershell ./build.ps1
31+
32+
- name: Run tests
33+
run: cargo test --verbose

0 commit comments

Comments
 (0)