WIP #223
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: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Qt 5 + ccache | |
run: brew install qt@5 ccache | |
- name: Force link Qt | |
run: brew link qt@5 --force | |
- name: Build dependency - cmark-gfm | |
run: cd deps/cmark-gfm && mkdir -v build && cd build && cmake -DCMARK_TESTS=OFF -DCMARK_SHARED=OFF .. && cmake --build . | |
- name: Run QMake | |
run: pwd ; qmake -r "CONFIG+=mfci" mindforger.pro | |
- name: Run Make | |
run: make -j 4 | |
- name: Build Disk iMaGe | |
run: cd build/macos && ./dmg-package-build.sh ci | |
- name: Archive push build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: macos-ci-build | |
path: app/*.dmg |