mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-09 00:29:14 +01:00
parent
aea90eb6bb
commit
367cecf299
61
.github/workflows/all.yml
vendored
61
.github/workflows/all.yml
vendored
@ -84,6 +84,7 @@ jobs:
|
||||
- build_fedora_31
|
||||
- build_fedora_32
|
||||
- build_focal_64
|
||||
- build_mac
|
||||
- build_mingw
|
||||
- build_source
|
||||
- build_stretch_64
|
||||
@ -790,3 +791,63 @@ jobs:
|
||||
with:
|
||||
name: release_focal_64
|
||||
path: bin/clementine_*.deb
|
||||
|
||||
build_mac:
|
||||
name: Build Mac DMG
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
brew install
|
||||
boost
|
||||
chromaprint
|
||||
cmake
|
||||
cryptopp
|
||||
fftw
|
||||
glew
|
||||
glib
|
||||
google-sparsehash
|
||||
gst-libav
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
gstreamer
|
||||
pkgconfig
|
||||
protobuf
|
||||
protobuf-c
|
||||
qt
|
||||
- name: Install liblastfm
|
||||
run: brew install https://raw.githubusercontent.com/tomahawk-player/homebrew-tomahawkqt5/master/liblastfm.rb
|
||||
- name: Fix liblastfm includes
|
||||
run: ln -s /usr/local/include/lastfm /usr/local/include/lastfm5
|
||||
- uses: actions/checkout@v1.2.0
|
||||
- name: cmake
|
||||
env:
|
||||
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
|
||||
Qt5_DIR: /usr/local/opt/qt5/lib/cmake/Qt5
|
||||
Qt5LinguistTools_DIR: /usr/local/opt/qt5/lib/cmake/Qt5LinguistTools
|
||||
GST_SCANNER_PATH: /usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
GST_PLUGIN_PATH: /usr/local/lib/gstreamer-1.0
|
||||
working-directory: bin
|
||||
run: >
|
||||
cmake ..
|
||||
-Wno-dev
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_OSX_ARCHITECTURES=x86_64
|
||||
-DGETTEXT_MSGMERGE_EXECUTABLE=/usr/local/opt/gettext/bin/msgmerge
|
||||
-DGETTEXT_MSGFMT_EXECUTABLE=/usr/local/opt/gettext/bin/msgfmt
|
||||
-DGETTEXT_XGETTEXT_EXECUTABLE=/usr/local/opt/gettext/bin/xgettext
|
||||
- name: make
|
||||
working-directory: bin
|
||||
run: make -j2
|
||||
- name: Copy icon files and resources
|
||||
working-directory: bin
|
||||
run: make install
|
||||
- name: Build DMG
|
||||
working-directory: bin
|
||||
run: make dmg
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: release_mac
|
||||
path: bin/clementine-*.dmg
|
||||
|
Loading…
Reference in New Issue
Block a user