mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Update Visual Studio version
- windows-latest now uses windows-2022 which has Visual Studio 17 2022. - Update cmake version from 3.15.4 to 3.23.2 which has generator for the newer version of Visual Studio.
This commit is contained in:
parent
5108c7cabd
commit
3670856851
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -97,7 +97,7 @@ jobs:
|
||||||
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
||||||
uses: jwlawson/actions-setup-cmake@v1.9
|
uses: jwlawson/actions-setup-cmake@v1.9
|
||||||
with:
|
with:
|
||||||
cmake-version: '3.15.4'
|
cmake-version: '3.23.2'
|
||||||
use-32bit: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }}
|
use-32bit: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }}
|
||||||
- name: Build libuv
|
- name: Build libuv
|
||||||
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
||||||
|
@ -116,7 +116,7 @@ jobs:
|
||||||
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL"
|
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL"
|
||||||
fi
|
fi
|
||||||
if [ "$BITS" -eq 32 -a "$OS" == "windows-latest" ]; then
|
if [ "$BITS" -eq 32 -a "$OS" == "windows-latest" ]; then
|
||||||
cmake -G "Visual Studio 16 2019" -A Win32 -S $(pwd) -B "build" $args
|
cmake -G "Visual Studio 17 2022" -A Win32 -S $(pwd) -B "build" $args
|
||||||
else
|
else
|
||||||
mkdir build || true
|
mkdir build || true
|
||||||
cd build
|
cd build
|
||||||
|
|
Loading…
Reference in a new issue