Skip to content

Commit

Permalink
CI: pin windows-latest to windows-2019 (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcny committed Feb 3, 2022
1 parent 3ff9241 commit bc2993d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,19 @@ jobs:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# windows-latest was pinned to windows-2019
# because of https://github.com/paritytech/wasmi/runs/5021520759
os: [ubuntu-latest, windows-2019, macos-latest]
include:
# Include a new variable `rustc-args` with `-- --test-threads 1`
# for windows-latest to be used with virtual_memory crate feature
# for windows-2019 to be used with virtual_memory crate feature
# enabled while testing.
- os: windows-latest
- os: windows-2019
test-args: "--test-threads 1"
runs-on: ${{ matrix.os }}
steps:
- name: Configure Pagefile for Windows
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
uses: al-cheb/[email protected]
with:
minimum-size: 6GB
Expand Down

0 comments on commit bc2993d

Please sign in to comment.