Skip to content

Commit e62aae3

Browse files
authored
Merge pull request #39 from SeaLoong/dev
Update deps and create CI
2 parents 4dc9503 + 9da018f commit e62aae3

File tree

7 files changed

+792
-541
lines changed

7 files changed

+792
-541
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "master", "dev" ]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: [ "master", "dev" ]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -13,10 +13,16 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16-
16+
strategy:
17+
matrix:
18+
toolchain:
19+
- nightly
1720
steps:
1821
- uses: actions/checkout@v4
22+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
1923
- name: Build
2024
run: cargo build --verbose
25+
- name: Build for release
26+
run: cargo build --release --verbose
2127
- name: Run tests
2228
run: cargo test --verbose

0 commit comments

Comments
 (0)