mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
Fix mac ci build; use aqtinstall
This commit is contained in:
1 parent
9696de712c
commit
b8c4e83e17
5 files changed
+117
-38
No files matched your search
@@ -10,30 +10,40 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- runner: macos-15-intel
|
||||
homebrew_prefix: /usr/local
|
||||
artifact: macos-intel
|
||||
- runner: macos-15
|
||||
homebrew_prefix: /opt/homebrew
|
||||
artifact: macos-arm64
|
||||
- runner: macos-15-intel
|
||||
artifact: macos-intel
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
version: '6.10.1'
|
||||
arch: clang_64
|
||||
modules: 'qtwebengine qtwebchannel qtpositioning'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew update
|
||||
brew install ninja mpv qt@6 || true
|
||||
brew install mpv
|
||||
- name: Release build
|
||||
run: |
|
||||
cmake -B build -G Ninja -DQTROOT=${{ matrix.homebrew_prefix }}/opt/qt@6 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=output -DCHECK_FOR_UPDATES=ON -DUSE_STATIC_MPVQT=ON
|
||||
cmake -B build -G Ninja \
|
||||
-DQTROOT=$QT_ROOT_DIR \
|
||||
-DCMAKE_PREFIX_PATH=$QT_ROOT_DIR \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=output \
|
||||
-DCHECK_FOR_UPDATES=ON \
|
||||
-DUSE_STATIC_MPVQT=ON
|
||||
cmake --build build --target install
|
||||
- name: Sign and create dmg
|
||||
run: |
|
||||
codesign --force --deep -s - "./build/output/Jellyfin Desktop.app/"
|
||||
codesign --force --deep -s - "./output/Jellyfin Desktop.app/"
|
||||
brew install create-dmg
|
||||
create-dmg --volname "Jellyfin Desktop" --no-internet-enable "Jellyfin Desktop.dmg" "./build/output/Jellyfin Desktop.app"
|
||||
create-dmg --volname "Jellyfin Desktop" --no-internet-enable "Jellyfin Desktop.dmg" "./output/Jellyfin Desktop.app"
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user