-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
29dc42f
commit 6cc3a7f
Showing
7 changed files
with
728 additions
and
46 deletions.
There are no files selected for viewing
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 @@ | ||
[alias] | ||
xtask = "run --package xtask --" |
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,100 @@ | ||
# This file was generated by [xtask-base](https://github.com/simon-bourne/rust-xtask-base). | ||
# Please do not edit! | ||
name: ci-tests | ||
on: [push, pull_request] | ||
jobs: | ||
tests-ubuntu-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo xtask codegen --check | ||
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | ||
- run: cargo test | ||
- run: cargo build --all-targets | ||
- run: cargo doc | ||
tests-macos-latest: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo xtask codegen --check | ||
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | ||
- run: cargo test | ||
- run: cargo build --all-targets | ||
- run: cargo doc | ||
tests-windows-latest: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo xtask codegen --check | ||
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | ||
- run: cargo test | ||
- run: cargo build --all-targets | ||
- run: cargo doc | ||
release-tests-ubuntu-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --benches --tests --release | ||
release-tests-macos-latest: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --benches --tests --release | ||
release-tests-windows-latest: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: 1.73 | ||
profile: minimal | ||
default: true | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --benches --tests --release | ||
lints-ubuntu-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ructions/toolchain@v2 | ||
with: | ||
toolchain: nightly-2023-10-14 | ||
profile: minimal | ||
default: true | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo fmt --all -- --check | ||
- run: cargo install cargo-udeps --locked --version 0.1.43 | ||
- run: cargo udeps --all-targets |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.