forked from wasmi-labs/wasmi
-
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.
- Loading branch information
Showing
1 changed file
with
14 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -62,8 +62,20 @@ jobs: | |
# windows-latest was pinned to windows-2019 | ||
# because of https://github.com/paritytech/wasmi/runs/5021520759 | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
include: | ||
# Include a new variable `rustc-args` with `-- --test-threads 1` | ||
# for windows-latest to be used with virtual_memory crate feature | ||
# enabled while testing. | ||
- os: windows-latest | ||
test-args: "--test-threads 1" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Configure Pagefile for Windows | ||
if: matrix.os == 'windows-2019' | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 6GB | ||
maximum-size: 32GB | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -95,9 +107,10 @@ jobs: | |
uses: actions-rs/cargo@v1 | ||
env: | ||
RUSTFLAGS: '--cfg debug_assertions' | ||
TEST_FLAGS: ${{ matrix.test-args }} | ||
with: | ||
command: test | ||
args: --workspace --release --all-features | ||
args: --workspace --release --all-features -- $TEST_FLAGS | ||
|
||
fmt: | ||
name: Formatting | ||
|