@@ -14,19 +14,19 @@ jobs:
14
14
fail-fast : true
15
15
matrix :
16
16
arch : [i686, x86_64, armv7, aarch64]
17
- os : [windows-latest , ubuntu-latest]
17
+ os : [windows-2022 , ubuntu-latest]
18
18
exclude :
19
19
- arch : armv7
20
- os : windows-latest
20
+ os : windows-2022
21
21
runs-on : ${{ matrix.os }}
22
22
steps :
23
23
- uses : actions/checkout@v2
24
24
with :
25
25
fetch-depth : 0
26
26
submodules : false
27
- - name : Set up environment for windows-latest
27
+ - name : Set up environment for windows-2022
28
28
shell : bash
29
- if : ${{ matrix.os == 'windows-latest ' }}
29
+ if : ${{ matrix.os == 'windows-2022 ' }}
30
30
run : |
31
31
echo "wget=C:\msys64\usr\bin\wget.exe" >> $GITHUB_ENV
32
32
echo "unzip=unzip" >> $GITHUB_ENV
@@ -130,7 +130,7 @@ jobs:
130
130
echo 'set(ISPC_ARCH "x86-64")' >> toolchain.cmake
131
131
# Manually specify CMAKE_SYSTEM_PROCESSOR, it can only be set together with -DDCMAKE_SYSTEM_NAME
132
132
- name : Configure bulid for MSVC
133
- if : ${{ matrix.os == 'windows-latest ' }}
133
+ if : ${{ matrix.os == 'windows-2022 ' }}
134
134
run : |
135
135
mkdir -Force build
136
136
cd build
@@ -148,7 +148,7 @@ jobs:
148
148
cd build
149
149
cmake .. -DLLVM_ARCH=${{ matrix.arch }} -DLLVM_PREFIX=/llvm-mingw -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-llvm-mingw.cmake -DCHECK_ASSETS=OFF -DUSE_DIRECTX=ON -DBC7_ISPC=ON -DCMAKE_ISPC_COMPILER=/opt/ispc/bin/ispc
150
150
- name : Build for MSVC
151
- if : ${{ matrix.os == 'windows-latest ' }}
151
+ if : ${{ matrix.os == 'windows-2022 ' }}
152
152
working-directory : build
153
153
run : |
154
154
cmake --build . --config Debug
@@ -188,7 +188,7 @@ jobs:
188
188
packaging :
189
189
name : Packaging STK
190
190
needs : build
191
- runs-on : windows-latest
191
+ runs-on : windows-2022
192
192
steps :
193
193
- name : Configure packaging name for git master branch
194
194
shell : bash
0 commit comments