-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to manual installation for Windows.
- Loading branch information
Olafur Pall Geirsson
committed
Sep 8, 2020
1 parent
484e1b4
commit 09e5782
Showing
2 changed files
with
34 additions
and
20 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 |
---|---|---|
|
@@ -31,17 +31,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2016, windows-latest] | ||
os: [windows-latest] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: olafurpg/setup-scala@v7 | ||
- run: java -version | ||
- run: choco install -y windows-sdk-7.1 vcbuildtools kb2519277 | ||
- shell: bash | ||
- name: Configure Pagefile | ||
uses: al-cheb/[email protected] | ||
- name: Refresh Pagefile | ||
run: | | ||
cp "/C/Program Files/Microsoft SDKs/Windows/v7.1/Lib/x64/advapi32.lib" "/C/Program Files/Microsoft SDKs/Windows/v7.1/Lib/x64/stdc++.lib" | ||
- shell: cmd | ||
name: sbt test | ||
(Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize | ||
- uses: olafurpg/setup-scala@v7 | ||
with: | ||
java-version: [email protected] | ||
- name: gu install native-image | ||
shell: bash | ||
run: | | ||
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" | ||
sbt test | ||
echo $JAVA_HOME | ||
"$JAVA_HOME\bin\gu.cmd" install native-image | ||
- name: sbt test | ||
shell: cmd | ||
run: >- | ||
"C:\Program Files (x86)\Microsoft Visual | ||
Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && sbt test |
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