-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: pin windows-latest to windows-2019 (#352)
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 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 |
---|---|---|
|
@@ -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 | ||
|