Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: pin windows-latest to windows-2019 #352

Merged
merged 1 commit into from
Feb 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/configure-pagefile-action@v1.2
with:
minimum-size: 6GB
Expand Down