Skip to content

Commit 3fda0a9

Browse files
Add CI job
1 parent abd0cd6 commit 3fda0a9

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/build.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- "**" # target all branches
7+
pull_request:
8+
branches:
9+
- "**" # target all branches
10+
11+
env:
12+
CARGO_TERM_COLOR: always
13+
14+
jobs:
15+
build_ubuntu:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Build
21+
run: cargo build --verbose
22+
- name: Run tests
23+
run: cargo test --verbose
24+
25+
build_macos:
26+
runs-on: macos-latest
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Build
31+
run: cargo build --verbose
32+
- name: Run tests
33+
run: cargo test --verbose
34+
35+
runs-on: windows-latest
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: Build
40+
run: cargo build --verbose
41+
- name: Run tests
42+
run: cargo test --verbose

0 commit comments

Comments
 (0)