Skip to content

Commit

Permalink
Update windows runners to windows-2022
Browse files Browse the repository at this point in the history
  • Loading branch information
AxVultis committed Sep 20, 2023
1 parent e3b5621 commit 49a9a16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build-windows:
name: Windows
runs-on: windows-2019
runs-on: windows-2022
env:
BOOST_ROOT: C:/local/boost_1_83_0
steps:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
shell: powershell
run: |
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.2-64.exe"
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${env:BOOST_ROOT}"
Expand All @@ -42,7 +42,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON
cmake .. -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON
msbuild concealX.sln /p:Configuration=Release /m:2
- name: Prepare release
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
build-mingw:
name: MinGW
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: msys2/setup-msys2@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-windows:
name: Windows
runs-on: windows-2019
runs-on: windows-2022
env:
BOOST_ROOT: C:/local/boost_1_83_0
steps:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Install Boost
shell: powershell
run: |
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.2-64.exe"
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${env:BOOST_ROOT}"
Expand All @@ -33,7 +33,7 @@ jobs:
$release_name = "ccx-cli-win64-v$ccx_version"
mkdir "$build_folder"
cd "$build_folder"
cmake -G "Visual Studio 16 2019" ..
cmake -G "Visual Studio 17 2022" ..
msbuild concealX.sln /p:Configuration=Release /m
cd src\Release
Compress-Archive -Path *.exe -DestinationPath "$release_name.zip"
Expand Down

0 comments on commit 49a9a16

Please sign in to comment.