Skip to content

Commit b8feb32

Browse files
authored
Temporarily use vs2019
1 parent 114cb4f commit b8feb32

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pack-libs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- ubuntu-latest
2828
- ubuntu-20.04
2929
- macos-13
30-
- windows-latest
30+
- windows-2019
3131
- macos-14
3232
lib:
3333
- zlib
@@ -37,9 +37,9 @@ jobs:
3737
- sqlite
3838
- liblz4
3939
exclude:
40-
- { runner: "windows-latest", lib: "pkg-config" }
41-
- { runner: "windows-latest", lib: "gmp" }
42-
- { runner: "windows-latest", lib: "liblz4" }
40+
- { runner: "windows-2019", lib: "pkg-config" }
41+
- { runner: "windows-2019", lib: "gmp" }
42+
- { runner: "windows-2019", lib: "liblz4" }
4343
fail-fast: false
4444
steps:
4545
- name: "Process env string"
@@ -57,7 +57,7 @@ jobs:
5757
echo "ARCH=aarch64" >> "$GITHUB_OUTPUT"
5858
echo CMD="SPC_USE_ARCH=aarch64 bin/spc-alpine-docker" >> "$GITHUB_OUTPUT"
5959
;;
60-
windows-latest)
60+
windows-2019)
6161
echo "OS=windows" >> "$GITHUB_OUTPUT"
6262
echo "ARCH=x86_64" >> "$GITHUB_OUTPUT"
6363
echo "CMD=bin/spc" >> "$GITHUB_OUTPUT"
@@ -115,12 +115,12 @@ jobs:
115115
- run: ${{ steps.process-env.outputs.CMD }} download --for-libs="${{ matrix.lib }}" --debug --retry=5 --shallow-clone
116116

117117
- name: "Download pre-built pkg-config for ${{ matrix.runner }}"
118-
if: matrix.runner != 'windows-latest' && matrix.lib != 'pkg-config'
118+
if: matrix.runner != 'windows-2019' && matrix.lib != 'pkg-config'
119119
run: |
120120
${{ steps.process-env.outputs.CMD }} download --for-libs="pkg-config" --debug --retry=5 --shallow-clone --prefer-pre-built
121121
${{ steps.process-env.outputs.CMD }} build:libs pkg-config --debug
122122
123-
- if: matrix.runner != 'windows-latest' || matrix.lib != 'pkg-config'
123+
- if: matrix.runner != 'windows-2019' || matrix.lib != 'pkg-config'
124124
run: ${{ steps.process-env.outputs.CMD }} dev:pack-lib --debug ${{ matrix.lib }}
125125

126126
- name: "Upload packed lib (${{ matrix.lib }} for ${{ steps.process-env.outputs.ARCH }}-${{ steps.process-env.outputs.OS }})"

0 commit comments

Comments
 (0)