Skip to content

Commit

Permalink
workflows bugfix overridden VCPKG_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Sep 10, 2023
1 parent 9ad4200 commit dfc5662
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/clang-cl-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -528,17 +528,18 @@ jobs:
ccache.exe --version
Write-Output '::endgroup::'
- name: Visual Studio 2022 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

# Must be after the ilammy/msvc-dev-cmd@v1 because vcvars64 override the VCPKG_ROOT
- name: vcpkg set-up environment
run: |
"VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" >> $env:GITHUB_ENV
'VCPKG_DEFAULT_TRIPLET=x64-windows' >> $env:GITHUB_ENV
'VCPKG_MAX_CONCURRENCY=2' >> $env:GITHUB_ENV
- name: Visual Studio 2022 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: CMake print version
run: |
cmake.exe --version
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/msvc2019-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,18 @@ jobs:
ccache.exe --version
Write-Output '::endgroup::'
- name: Visual Studio 2019 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

# Must be after the ilammy/msvc-dev-cmd@v1 because vcvars64 override the VCPKG_ROOT
- name: vcpkg set-up environment
run: |
"VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" >> $env:GITHUB_ENV
'VCPKG_DEFAULT_TRIPLET=x64-windows' >> $env:GITHUB_ENV
'VCPKG_MAX_CONCURRENCY=2' >> $env:GITHUB_ENV
- name: Visual Studio 2019 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: CMake print version
run: |
cmake.exe --version
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/msvc2022-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,17 +525,18 @@ jobs:
ccache.exe --version
Write-Output '::endgroup::'
- name: Visual Studio 2022 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

# Must be after the ilammy/msvc-dev-cmd@v1 because vcvars64 override the VCPKG_ROOT
- name: vcpkg set-up environment
run: |
"VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" >> $env:GITHUB_ENV
'VCPKG_DEFAULT_TRIPLET=x64-windows' >> $env:GITHUB_ENV
'VCPKG_MAX_CONCURRENCY=2' >> $env:GITHUB_ENV
- name: Visual Studio 2022 pwsh shell setup
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: CMake print version
run: |
cmake.exe --version
Expand Down

0 comments on commit dfc5662

Please sign in to comment.