Skip to content

Commit 8ea4c32

Browse files
committed
CI: fix Windows MSVC builds
1 parent c6af8ef commit 8ea4c32

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ env:
3737
APT_PACKAGES_clang: >-
3838
libpthread-workqueue-dev
3939
40+
# GNUstep Windows MSVC toolchain release tag to be used (keep up to date with latest release):
41+
# https://github.com/gnustep/tools-windows-msvc/releases
42+
TOOLS_WINDOWS_MSVC_RELEASE_TAG: release-20230104
43+
4044
jobs:
4145
########### Linux ###########
4246
linux:
@@ -260,9 +264,9 @@ jobs:
260264
shell: cmd
261265
run: |
262266
mkdir %INSTALL_PATH% & cd %INSTALL_PATH%
263-
# download latest pre-built release
264-
curl -L -o GNUstep-Windows-MSVC.zip https://github.com/gnustep/tools-windows-msvc/releases/download/latest/GNUstep-Windows-MSVC-${{matrix.arch}}.zip || exit /b 1
265-
# extract excluding debug build and GNUstep components (we need dependencies only)
267+
:: download pre-built release
268+
curl -L -o GNUstep-Windows-MSVC.zip https://github.com/gnustep/tools-windows-msvc/releases/download/${{env.TOOLS_WINDOWS_MSVC_RELEASE_TAG}}/GNUstep-Windows-MSVC-${{matrix.arch}}.zip || exit /b 1
269+
:: extract excluding debug build and GNUstep components (we need dependencies only)
266270
tar -xvf GNUstep-Windows-MSVC.zip --strip 1 --exclude Debug --exclude "**/gnustep*" --exclude "**/GNUstep*" --exclude Foundation --exclude CoreFoundation || exit /b 1
267271
del /Q GNUstep-Windows-MSVC.zip
268272

0 commit comments

Comments
 (0)