Skip to content

Commit

Permalink
Revert rust.yml from that commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Jul 11, 2023
1 parent 8efa308 commit 7fcccfb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7fcccfb

Please sign in to comment.