-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oh my
- Loading branch information
Showing
11 changed files
with
435 additions
and
155 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 @@ | ||
github: [ecton] |
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,28 @@ | ||
name: Docs | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: nightly | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Generate Docs | ||
run: | | ||
cargo +nightly doc --no-deps --all-features | ||
- name: Deploy Docs | ||
if: github.ref == 'refs/heads/main' | ||
uses: JamesIves/github-pages-deploy-action@releases/v4 | ||
with: | ||
branch: gh-pages | ||
folder: target/doc/ | ||
git-config-name: kl-botsu | ||
git-config-email: [email protected] | ||
target-folder: /main/ | ||
clean: true |
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,51 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
|
||
- name: Run clippy | ||
run: | | ||
cargo clippy | ||
- name: Run unit tests | ||
run: | | ||
cargo test --all-targets | ||
miri: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
with: | ||
components: cargo,rustc,rust-std,miri | ||
rust-version: nightly | ||
|
||
- name: Run unit tests | ||
run: | | ||
cargo +nightly miri test | ||
env: | ||
MIRIFLAGS: "-Zmiri-permissive-provenance -Zmiri-ignore-leaks" | ||
|
||
build-msrv: | ||
name: Test on MSRV | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: 1.65 | ||
- name: Run unit tests | ||
run: cargo test --all-targets |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.