-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b103c60
Showing
14 changed files
with
3,953 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI-RS | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_TERM_VERBOSE: true | ||
RUST_BACKTRACE: 1 | ||
|
||
|
||
jobs: | ||
ci-rs: | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust-toolchain: | ||
- nightly | ||
|
||
steps: | ||
- name: Get source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup ${{ matrix.rust-toolchain }} rust toolchain with caching | ||
uses: brndnmtthws/rust-action@v1 | ||
with: | ||
toolchain: ${{ matrix.rust-toolchain }} | ||
components: rustfmt, clippy | ||
enable-sccache: "true" | ||
|
||
- name: Build | ||
run: cargo build --release | ||
|
||
- name: Test | ||
run: cargo test --release | ||
|
||
- name: Lint | ||
run: cargo fmt --all -- --check && cargo clippy --verbose -- -D warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
/out |
Oops, something went wrong.