-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into eliza/simplify-plic
- Loading branch information
Showing
7 changed files
with
80 additions
and
98 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 |
---|---|---|
|
@@ -40,12 +40,10 @@ jobs: | |
steps: | ||
- name: install libudev | ||
run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- name: install rust toolchain | ||
- uses: actions/checkout@v2 | ||
- name: rust toolchain | ||
run: rustup show | ||
- name: add wasm target | ||
run: rustup target add wasm32-unknown-unknown | ||
- uses: olix0r/cargo-action-fmt@ee1ef42932e44794821dab57ef1bf7a73df8b21f | ||
- uses: actions/checkout@v2 | ||
- uses: extractions/setup-just@v1 | ||
- name: run just check | ||
run: just check | ||
|
@@ -59,12 +57,10 @@ jobs: | |
steps: | ||
- name: install libudev | ||
run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- name: install rust toolchain | ||
- uses: actions/checkout@v2 | ||
- name: rust toolchain | ||
run: rustup show | ||
- name: add wasm target | ||
run: rustup target add wasm32-unknown-unknown | ||
- uses: olix0r/cargo-action-fmt@ee1ef42932e44794821dab57ef1bf7a73df8b21f | ||
- uses: actions/checkout@v2 | ||
- uses: extractions/setup-just@v1 | ||
- name: run just clippy | ||
run: just clippy | ||
|
@@ -78,10 +74,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- name: install rust toolchain | ||
- uses: actions/checkout@v2 | ||
- name: rust toolchain | ||
run: rustup show | ||
- uses: olix0r/cargo-action-fmt@ee1ef42932e44794821dab57ef1bf7a73df8b21f | ||
- uses: actions/checkout@v2 | ||
# note that this actually *needs* to be `--release`, because the D1 platform | ||
# impl apparently just Does Not Build in debug mode (debug builds fail with | ||
# a pile of linker errors, what the heck...) | ||
|
@@ -99,34 +95,36 @@ jobs: | |
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y libudev-dev libsdl2-dev | ||
- name: install rust toolchain | ||
- uses: actions/checkout@v2 | ||
- name: rust toolchain | ||
run: rustup show | ||
- name: install nextest | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- uses: actions/checkout@v2 | ||
- uses: extractions/setup-just@v1 | ||
- name: just test | ||
run: just test | ||
|
||
# (test-host forth3) - run miri tests | ||
test-host-miri: | ||
runs-on: ubuntu-latest | ||
name: cargo miri test (host) | ||
name: cargo miri test --package forth3 (host) | ||
needs: check | ||
# TODO(eliza): only run this if forth3 changed? | ||
# needs: changed_paths | ||
# if: needs.changed_paths.outputs.should_skip != 'true' | ||
steps: | ||
- name: install rust toolchain and miri | ||
run: | | ||
rustup toolchain install nightly --component miri | ||
cargo +nightly miri setup | ||
- uses: actions/checkout@v3 | ||
- name: rust toolchain | ||
run: rustup show | ||
- name: install Miri | ||
run: | | ||
rustup component add miri | ||
cargo miri setup | ||
- name: cargo miri test (forth3) | ||
run: | | ||
cargo +nightly miri test \ | ||
cargo miri test \ | ||
--package forth3 \ | ||
--all-features | ||
|
@@ -136,9 +134,9 @@ jobs: | |
# if: needs.changed_paths.outputs.should_skip != 'true' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install rust toolchain | ||
run: rustup show | ||
- uses: actions/checkout@v2 | ||
- name: run rustfmt | ||
run: cargo fmt --check | ||
|
||
|
@@ -152,9 +150,9 @@ jobs: | |
steps: | ||
- name: install libudev | ||
run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- name: install rust toolchain | ||
run: rustup show | ||
- uses: actions/checkout@v2 | ||
- name: rust toolchain | ||
run: rustup show | ||
- uses: olix0r/cargo-action-fmt@ee1ef42932e44794821dab57ef1bf7a73df8b21f | ||
- uses: extractions/setup-just@v1 | ||
- name: run rustdoc | ||
|
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
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.