Compare commits

...

7 commits

Author SHA1 Message Date
Nicolas Werner
9364d36827
Bump flatpak runtime 2024-11-23 05:08:35 +01:00
Nicolas Werner
a3219c71d7
Disable cmake re2 workaround on mac 2024-11-20 21:17:24 +01:00
Nicolas Werner
80b82f2261
Try to force parallel hunter build on macos 2024-11-20 21:17:24 +01:00
Nicolas Werner
18f13f187c
Upgrade macos apple silicon CI image 2024-11-20 21:17:19 +01:00
Joseph Donofry
bca05d38c4
Undo log artifact upload 2024-11-17 18:37:16 -05:00
Joseph Donofry
da91f83178
Make sure to upload on failure 2024-11-17 18:13:02 -05:00
Joseph Donofry
c1ef49ac54
Temporarily upload notarization error log 2024-11-17 18:12:58 -05:00
3 changed files with 5 additions and 52 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
@ -303,7 +295,6 @@ build-macos-as:
artifacts:
paths:
- artifacts/nheko-${CI_COMMIT_SHORT_SHA}-${PLAT}.dmg
- /tmp/notarize*
name: nheko-${CI_COMMIT_SHORT_SHA}-macos
codesign-macos-intel:

View file

@ -1,7 +1,7 @@
id: im.nheko.Nheko
command: im.nheko.Nheko
runtime: org.kde.Platform
runtime-version: '6.7'
runtime-version: '6.8'
sdk: org.kde.Sdk
finish-args:
# needed for webcams, see https://github.com/Nheko-Reborn/nheko/issues/517
@ -118,46 +118,6 @@ modules:
tag: 0.21.4
type: git
url: https://gitlab.gnome.org/GNOME/libsecret.git
- name: libavif
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DAVIF_CODEC_AOM=ON
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
sources:
- sha256: dc56708c83a4b934a8af2b78f67f866ba2fb568605c7cf94312acf51ee57d146
type: archive
url: https://github.com/AOMediaCodec/libavif/archive/refs/tags/v1.0.4.tar.gz
- name: libde265
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_DECODER=OFF
buildsystem: cmake-ninja
sources:
- sha256: 00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d
type: archive
url: https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz
- name: libheif
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_EXAMPLES=OFF
- -DWITH_AOM_DECODER=OFF
- -DWITH_AOM_ENCODER=OFF
buildsystem: cmake-ninja
sources:
- sha256: 8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee
type: archive
url: https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz
- name: KImageFormats
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DKIMAGEFORMATS_HEIF=ON
buildsystem: cmake-ninja
sources:
- commit: 6c1a7ad33924764e8d1efff61919efebc31f5e5a
tag: v6.3.0
type: git
url: https://invent.kde.org/frameworks/kimageformats.git
- name: QtKeychain
config-opts:
- -DCMAKE_BUILD_TYPE=Release