Skip to content

fix bundle for macosx #229

fix bundle for macosx

fix bundle for macosx #229

name: build ubuntu latest
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: "sudo apt-get update && sudo apt-get install
libflac-dev libflac++-dev libpulse-dev zlib1g-dev libssl-dev libdbus-1-dev"
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt/5.15.2/gcc_64
key: ${{ runner.os }}-QtCache-5152-gcc_64
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
host: 'linux'
target: 'desktop'
modules: ''
install-deps: 'true'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Dump Qt DIR
run: echo ${Qt5_DIR}
- name: Init submodules
run: git submodule init && git submodule update
- name: Configure build
run: "cmake -B build
-DCMAKE_PREFIX_PATH=${Qt5_DIR}
-DQt5_DIR=${Qt5_DIR}/lib/cmake/Qt5
-DQt5Core_DIR=${Qt5_DIR}/lib/cmake/Qt5Core
-DQt5Gui_DIR=${Qt5_DIR}/lib/cmake/Qt5Gui
-DQt5Qml_DIR=${Qt5_DIR}/lib/cmake/Qt5Qml
-DQt5Network_DIR=${Qt5_DIR}/lib/cmake/Qt5Network
-DQt5Quick_DIR=${Qt5_DIR}/lib/cmake/Qt5Quick
-DQt5QuickControls2_DIR=${Qt5_DIR}/lib/cmake/Qt5QuickControls2
-DQt5Xml_DIR=${Qt5_DIR}/lib/cmake/Qt5Xml
-DQt5Svg_DIR=${Qt5_DIR}/lib/cmake/Qt5Svg
-DQt5Widgets_DIR=${Qt5_DIR}/lib/cmake/Qt5Widgets
-DQt5QmlModels_DIR=${Qt5_DIR}/lib/cmake/Qt5QmlModels
-Wno-dev"
- name: Build
run: cmake --build build