impl lua mod/functions context #965
Workflow file for this run
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: Mac Build | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
- bugfix/* | |
- develop | |
- bugfix/* | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: update submodules | |
run: git submodule update --init --recursive --remote | |
- name: install icu4c | |
run: brew install icu4c | |
- name: install render test requirements | |
run: pip3 install -r requirements.txt | |
working-directory: rendertests | |
- name: install boost | |
run: sh ./mac_build_boost_fallback.sh | |
working-directory: third_party | |
- name: configure | |
run: cmake -DCMAKE_BUILD_TYPE=Release .. | |
env: | |
WM_DOWNLOAD_EXTERNALS: 0 # for some reason the boost build fails here: seems not to find the right toolset (for the first run, the second try succeeds) | |
BOOST_ROOT: ${{ github.workspace }}/third_party/boost | |
working-directory: build | |
- name: build | |
run: cmake --build . | |
working-directory: build | |
- name: test | |
run: ./rehearse | |
working-directory: build | |
- name: run rendertests | |
run: python3 runtests.py | |
continue-on-error: false | |
working-directory: rendertests | |
- name: pack | |
run: cmake --build . --config Release --target package | |
working-directory: build | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: werckmeister-mac-${{ github.sha }} | |
path: | | |
build/werckmeister-*-Darwin.pkg | |
rendertests/*.mid |