Skip to content

Commit 1570002

Browse files
committed
Try to fix github actions
1 parent 3d83204 commit 1570002

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/windows.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
arch: [i686, x86_64, armv7, aarch64]
17-
os: [windows-latest, ubuntu-latest]
17+
os: [windows-2022, ubuntu-latest]
1818
exclude:
1919
- arch: armv7
20-
os: windows-latest
20+
os: windows-2022
2121
runs-on: ${{ matrix.os }}
2222
steps:
2323
- uses: actions/checkout@v2
2424
with:
2525
fetch-depth: 0
2626
submodules: false
27-
- name: Set up environment for windows-latest
27+
- name: Set up environment for windows-2022
2828
shell : bash
29-
if: ${{ matrix.os == 'windows-latest' }}
29+
if: ${{ matrix.os == 'windows-2022' }}
3030
run: |
3131
echo "wget=C:\msys64\usr\bin\wget.exe" >> $GITHUB_ENV
3232
echo "unzip=unzip" >> $GITHUB_ENV
@@ -130,7 +130,7 @@ jobs:
130130
echo 'set(ISPC_ARCH "x86-64")' >> toolchain.cmake
131131
# Manually specify CMAKE_SYSTEM_PROCESSOR, it can only be set together with -DDCMAKE_SYSTEM_NAME
132132
- name: Configure bulid for MSVC
133-
if: ${{ matrix.os == 'windows-latest' }}
133+
if: ${{ matrix.os == 'windows-2022' }}
134134
run: |
135135
mkdir -Force build
136136
cd build
@@ -148,7 +148,7 @@ jobs:
148148
cd build
149149
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
150150
- name: Build for MSVC
151-
if: ${{ matrix.os == 'windows-latest' }}
151+
if: ${{ matrix.os == 'windows-2022' }}
152152
working-directory: build
153153
run: |
154154
cmake --build . --config Debug
@@ -188,7 +188,7 @@ jobs:
188188
packaging:
189189
name: Packaging STK
190190
needs: build
191-
runs-on: windows-latest
191+
runs-on: windows-2022
192192
steps:
193193
- name: Configure packaging name for git master branch
194194
shell : bash

0 commit comments

Comments
 (0)