This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make simplification with TOP more aggressive
- Loading branch information
1 parent
9b2ceeb
commit d451306
Showing
9 changed files
with
51 additions
and
109 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 |
---|---|---|
|
@@ -7,82 +7,24 @@ on: | |
branches: [ main ] | ||
|
||
jobs: | ||
clippy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Run Clippy | ||
run: | | ||
cargo clippy --no-default-features --all-targets -- -D warnings | ||
tests: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Execute tests | ||
run: | | ||
cargo test --all -- --test-threads=1 | ||
env: | ||
CARGO_INCREMENTAL: 0 | ||
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" | ||
|
||
- name: Setup grcov | ||
run: | | ||
cargo install grcov | ||
- name: Run grcov | ||
run: | | ||
zip -0 cov.zip $(find . -name "mirai*.gc*" -print) | ||
grcov cov.zip -s . -t lcov --llvm --ignore-not-existing --ignore "/*" -o lcov.info | ||
- name: Upload coverage data to codecov.io | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: "lcov.info" | ||
|
||
mirai_on_mirai_macos: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install MIRAI | ||
run: | | ||
cargo install --force --path ./checker --no-default-features | ||
- name: Run MIRAI on MIRAI | ||
run: | | ||
cargo mirai --no-default-features | ||
mirai_on_mirai_ubuntu: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install MIRAI | ||
run: | | ||
cargo install --force --path ./checker | ||
- name: Run MIRAI on MIRAI | ||
run: | | ||
cargo mirai --no-default-features | ||
mirai_on_mirai_windows: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: lukka/get-cmake@latest | ||
- name: List $RUNNER_WORKSPACE before vcpkg is setup | ||
run: find $RUNNER_WORKSPACE | ||
shell: bash | ||
|
||
- name: Setup vcpkg | ||
uses: lukka/run-vcpkg@main | ||
id: runvcpkg | ||
with: | ||
# This one is not needed, as it is the default value anyway. | ||
# vcpkgDirectory: '${{ github.workspace }}/vcpkg' | ||
vcpkgJsonGlob: '**/cmakepresets/vcpkg.json' | ||
|
||
- name: Install MIRAI | ||
run: | | ||
cargo install --force --path ./checker | ||
- name: Run MIRAI on MIRAI | ||
run: | | ||
cargo mirai --no-default-features | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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