Skip to content

Commit

Permalink
Experimental update to gitlab build script (MinGW is no longer suppor…
Browse files Browse the repository at this point in the history
…ted by JUCE) #2
  • Loading branch information
jonoomph committed Dec 7, 2024
1 parent f2a6c62 commit 0c2d383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ windows-builder-x64:
- $env:Path = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;" + $env:Path;
- $env:MSYSTEM = "MINGW64"
- New-Item -ItemType Directory -Force -Path build
- cmake -B build -S . -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -G "Unix Makefiles" -D"CMAKE_BUILD_TYPE:STRING=Release" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="--target=x86_64-w64-mingw32" -DCMAKE_C_FLAGS="--target=x86_64-w64-mingw32"
- cmake -B build -S . -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -G "MinGW Makefiles" -D"CMAKE_BUILD_TYPE:STRING=Release" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="--target=x86_64-w64-mingw32" -DCMAKE_C_FLAGS="--target=x86_64-w64-mingw32"
- cmake --build build
- cmake --install build
- $PROJECT_VERSION = (Select-String -Path "CMakeLists.txt" -Pattern '^set\(PROJECT_VERSION_FULL "(.*)\"' | %{$_.Matches.Groups[1].value})
Expand All @@ -81,7 +81,7 @@ windows-builder-x86:
- $env:Path = "C:\msys64\mingw32\bin;C:\msys64\usr\bin;" + $env:Path;
- $env:MSYSTEM = "MINGW32"
- New-Item -ItemType Directory -Force -Path build
- cmake -B build -S . -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x86" -G "Unix Makefiles" -D"CMAKE_BUILD_TYPE:STRING=Release" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="--target=i686-w64-mingw32" -DCMAKE_C_FLAGS="--target=i686-w64-mingw32"
- cmake -B build -S . -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x86" -G "MinGW Makefiles" -D"CMAKE_BUILD_TYPE:STRING=Release" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="--target=i686-w64-mingw32" -DCMAKE_C_FLAGS="--target=i686-w64-mingw32"
- cmake --build build
- cmake --install build
- $PROJECT_VERSION = (Select-String -Path "CMakeLists.txt" -Pattern '^set\(PROJECT_VERSION_FULL "(.*)\"' | %{$_.Matches.Groups[1].value})
Expand Down

0 comments on commit 0c2d383

Please sign in to comment.