deactivating all builds except win #1069
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: Linux Build | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
- bugfix/* | |
- develop | |
- bugfix/* | |
pull_request: | |
branches: [ develop ] | |
schedule: | |
- cron: '0 0 17 * *' | |
jobs: | |
build: | |
if: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: update submodules | |
run: git submodule update --init --recursive --remote | |
- name: install alsa | |
run: sudo apt-get update && sudo apt-get install -y libasound2 libasound2-dev | |
- name: configure python venv | |
run: python -m venv myEnv | |
working-directory: rendertests | |
- name: install render test requirements | |
run: source myEnv/bin/activate && pip3 install -r requirements.txt | |
working-directory: rendertests | |
- name: configure | |
run: cmake -DCMAKE_BUILD_TYPE=Release .. | |
env: | |
WM_DOWNLOAD_EXTERNALS: 1 | |
WM_LINUX_LINK_STATIC: 1 | |
working-directory: build | |
- name: build | |
run: cmake --build . | |
working-directory: build | |
- name: test | |
run: ./rehearse | |
working-directory: build | |
- name: run rendertests | |
run: source myEnv/bin/activate && 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@v4 | |
with: | |
name: werckmeister-linux-${{ github.sha }} | |
path: | | |
build/werckmeister-*-Linux.sh | |
rendertests/*.mid |