macos-build #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macos-build | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
aqtversion: '==3.1.*' | |
version: '6.8.0' | |
host: 'mac' | |
target: 'desktop' | |
arch: 'clang_64' | |
modules: 'qt5compat qtcharts' | |
- name: dependencies | |
run: | | |
brew update | |
brew install boost | |
brew install glfw3 | |
brew install glew | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release ../src | |
cmake --build . |