Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit e87a4a4

Browse files
nickelcsoc
authored andcommitted
Add GitHub Actions build jobs for linux, windows & macos
1 parent 7ddee45 commit e87a4a4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
12+
RUST_BACKTRACE: full
13+
14+
jobs:
15+
build-and-test:
16+
runs-on: ${{ matrix.os }}
17+
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Build
25+
run: cargo build --verbose
26+
- name: Test
27+
run: cargo test --verbose -- --nocapture

0 commit comments

Comments
 (0)