Skip to content

Commit

Permalink
Revert "deactivating win/linux builds"
Browse files Browse the repository at this point in the history
This reverts commit 2e9cffd.
  • Loading branch information
samba committed Dec 6, 2024
1 parent 2e9cffd commit 0cb2c66
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 94 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/ccpp-linux.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
#name: Linux Build
name: Linux Build

#on:
# push:
# branches:
# - main
# - feature/*
# - bugfix/*
# - develop
# - bugfix/*
# pull_request:
# branches: [ develop ]
on:
push:
branches:
- main
- feature/*
- bugfix/*
- develop
- bugfix/*
pull_request:
branches: [ develop ]

#jobs:
# build:
# runs-on: ubuntu-latest
jobs:
build:
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: install render test requirements
# run: 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: 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
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: install render test requirements
run: 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: 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
2 changes: 1 addition & 1 deletion .github/workflows/ccpp-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: update submodules
Expand Down
90 changes: 45 additions & 45 deletions .github/workflows/ccpp-win.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
# name: Windows Build
name: Windows Build

#on:
# push:
# branches:
# - main
# - feature/*
# - bugfix/*
# - develop
# - bugfix/*
# pull_request:
# branches: [ develop ]
on:
push:
branches:
- main
- feature/*
- bugfix/*
- develop
- bugfix/*
pull_request:
branches: [ develop ]

#jobs:
# build:
# runs-on: windows-latest
jobs:
build:
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
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

0 comments on commit 0cb2c66

Please sign in to comment.