mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
CI: fix MSVC builds when building dependencies
This commit is contained in:
parent
6acb0b27f7
commit
8209793ac7
1 changed files with 9 additions and 4 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -236,14 +236,19 @@ jobs:
|
|||
if: env.IS_WINDOWS_MSVC == 'true'
|
||||
with:
|
||||
msystem: MSYS
|
||||
install: make autoconf automake libtool
|
||||
install: make autoconf automake libtool pkg-config
|
||||
# make Windows packages like Clang available in MSYS
|
||||
path-type: inherit
|
||||
|
||||
- name: Delete MinGW gmake (MSVC)
|
||||
- name: Remove Perl Strawberry installation and MinGW gmake (MSVC)
|
||||
if: env.IS_WINDOWS_MSVC == 'true'
|
||||
# delete /c/Strawberry/c/bin/gmake built for MinGW that is found on runners, because we must use make built for MSYS
|
||||
run: if GMAKE_PATH=`which gmake`; then rm -f "$GMAKE_PATH"; fi
|
||||
# C:\Strawberry contains various MinGW libraries and binaries like pkg-config
|
||||
# that can get picked up by configure/CMake and don't necessarily behave
|
||||
# correctly when not using a MinGW environment, and more specifically we cannot
|
||||
# use MinGW gmake but must use MSYS make for correctly handling of Windows paths,
|
||||
# so we delete everything that could mess up our builds
|
||||
run: rmdir /S /Q C:\Strawberry
|
||||
shell: cmd
|
||||
|
||||
- name: Install Windows packages (MSVC)
|
||||
if: env.IS_WINDOWS_MSVC == 'true'
|
||||
|
|
Loading…
Reference in a new issue