Create ccpp-macos-arm.yml #1051
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: Windows Build | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
- bugfix/* | |
- develop | |
- bugfix/* | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build: | |
if: true | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: update submodules | |
run: git submodule update --init --recursive --remote | |
- name: configure | |
run: cmake -DCMAKE_BUILD_TYPE=Release .. | |
working-directory: build | |
env: | |
WM_DOWNLOAD_EXTERNALS: 1 | |
- name: install render test requirements | |
run: pip3 install -r requirements.txt | |
working-directory: rendertests | |
- name: build | |
run: cmake --build . --config Release | |
working-directory: build | |
- name: test | |
run: ./rehearse | |
working-directory: build/Release | |
- name: run rendertests | |
run: python 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@v4 | |
with: | |
name: werckmeister-win-${{ github.sha }} | |
path: | | |
build/werckmeister-*-win64.msi | |
rendertests/*.mid |