Skip to content

Commit

Permalink
[fix] ci: fix macos dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
bgallois committed Oct 22, 2024
1 parent 29b7606 commit 4e77236
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
path: src/build/FastTrack

build_mac:
runs-on: macos-latest
runs-on: macos-15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down Expand Up @@ -141,7 +141,8 @@ jobs:
macdeployqt FastTrack.app -always-overwrite
wget https://raw.githubusercontent.com/tamlok/macdeployqtfix/master/macdeployqtfix.py
cp *.qm FastTrack.app/Contents/Resources/
python macdeployqtfix.py FastTrack.app/Contents/MacOS/FastTrack ../../Qt/${{ env.QT_VERSION }}/
find / -name "libgcc_s.1.1.dylib" -exec cp {} FastTrack.app/Contents/Frameworks/ \; >/dev/null 2>&1 || true
python macdeployqtfix.py fasttrack.app/contents/macos/fasttrack ../../Qt/${{ env.QT_VERSION }}/
hdiutil create -volname FastTrack -srcfolder FastTrack.app -ov -format UDZO FastTrack.dmg
- name: upload_artefact
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions src/FastTrack-Cli.pro
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ unix:macx {
QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += opencv4
PKGCONFIG += protobuf

ICON=assets/icon.icns
}
Expand Down
1 change: 1 addition & 0 deletions src/FastTrack.pro
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ unix:macx {
QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += opencv4
PKGCONFIG += protobuf

ICON=assets/icon.icns
}
Expand Down

0 comments on commit 4e77236

Please sign in to comment.