mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
Add Mac build action
This commit is contained in:
parent
5ca5c08979
commit
e96246bee8
21
.github/workflows/sdrangel.yml
vendored
21
.github/workflows/sdrangel.yml
vendored
@ -11,6 +11,27 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build_mac:
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ilammy/setup-nasm@v1
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
dir: '${{ github.workspace }}/qt/'
|
||||
version: '5.15.2'
|
||||
host: 'mac'
|
||||
target: 'desktop'
|
||||
arch: 'clang_64'
|
||||
setup-python: false
|
||||
modules: 'qtcharts qtwebengine'
|
||||
- name: build sdrangel on Mac
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DARCH_OPT=nehalem -DDEBUG_OUTPUT=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DENABLE_EXTERNAL_LIBRARIES=ON -DBUNDLE=ON -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=TRUE -DCMAKE_PREFIX_PATH="$QT_ROOT_DIR"
|
||||
make package -j4
|
||||
|
||||
build:
|
||||
name: ${{ matrix.config.name }}
|
||||
runs-on: ${{ matrix.config.os }}
|
||||
|
Loading…
Reference in New Issue
Block a user