Skip to content

Commit

Permalink
Use Visual Studio 2019 pre-installed on Windows CI workers to save some
Browse files Browse the repository at this point in the history
by not installing Visual Studio 2017
  • Loading branch information
ppalaga committed Oct 7, 2020
1 parent ebfdef0 commit bbd5e76
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: GitHub Actions
on: [push, pull_request]

env:
GRAALVM_VERSION: '20.1.0.java11'
GRAALVM_VERSION: '20.2.0.java11'

jobs:

Expand Down Expand Up @@ -57,19 +57,6 @@ jobs:
runs-on: windows-2019
steps:

- name: Set CHOCO_CACHE_PATH
run: |
echo "::set-env name=CHOCO_CACHE_PATH::C:\Users\$env:UserName\AppData\Local\Temp\chocolatey"
- name: Cache chocolatey localCache
uses: actions/cache@v2
with:
path: ${{ env.CHOCO_CACHE_PATH }}
key: ${{ runner.os }}-choco-cache-2

- name: choco install visualstudio2017-workload-vctools
run: choco install visualstudio2017-workload-vctools --no-progress

- name: setup-graalvm-ce
uses: DeLaGuardo/setup-graalvm@3
with:
Expand Down Expand Up @@ -108,7 +95,7 @@ jobs:
- name: mvn clean verify
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
./mvnw clean verify -Pnative -B -ntp -e
- name: Upload daemon test logs
Expand Down

0 comments on commit bbd5e76

Please sign in to comment.