Compare commits

...

3 commits

Author SHA1 Message Date
Nicolas Werner
4789cc683b
Disable cmake re2 workaround on mac 2024-11-20 20:53:19 +01:00
Nicolas Werner
60c19bf1d1
Try to force parallel hunter build on macos 2024-11-20 00:40:07 +01:00
Nicolas Werner
014e55d738
Upgrade macos apple silicon CI image 2024-11-17 21:29:14 +01:00
2 changed files with 4 additions and 10 deletions

View file

@ -15,6 +15,8 @@ export PATH
CMAKE_PREFIX_PATH="${QT_BASEPATH}/lib/cmake"
export CMAKE_PREFIX_PATH
export CMAKE_BUILD_PARALLEL_LEVEL="$(sysctl -n hw.ncpu)"
cmake -GNinja -S. -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX="nheko.temp" \
@ -31,7 +33,7 @@ cmake --install build
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
( cd qt-jdenticon
qmake
make -j 4
make -j "$CMAKE_BUILD_PARALLEL_LEVEL"
cp libqtjdenticon.dylib ../../nheko.temp/nheko.app/Contents/MacOS
)
# "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/

View file

@ -266,18 +266,10 @@ build-macos:
build-macos-as:
extends: build-macos
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.3
image: ghcr.io/cirruslabs/macos-sequoia-xcode:16.1
tags: [macos-tart]
before_script:
# The following update-reset is a workaround for this issue: https://github.com/Homebrew/homebrew-bundle/issues/1179
- brew update-reset
- brew upgrade
- brew bundle --file .ci/macos/Brewfile
### CMake 3.29 issue with re2 workaround.
- brew uninstall cmake
- curl "https://raw.githubusercontent.com/Homebrew/homebrew-core/9ae2628ed1337f342960fd6c2598ae69cf057615/Formula/c/cmake.rb" -o /tmp/cmake.rb
- brew install -s /tmp/cmake.rb
### End Cmake 3.29 issue with re2 workaround.
- pipx install aqtinstall
- pipx ensurepath
- . ~/.zshrc