v0.4.0: Gain param, release tail, ping pong all modes, UI polish, rel… #5
Workflow file for this run
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Configure | |
| run: cmake -B build -S project -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Package | |
| run: | | |
| mkdir staging | |
| cp -r build/Intersect_artefacts/Release/VST3/INTERSECT.vst3 staging/ | |
| cp build/Intersect_artefacts/Release/Standalone/INTERSECT.exe staging/ | |
| cd staging && 7z a ../INTERSECT-Windows.zip * | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: INTERSECT-Windows | |
| path: INTERSECT-Windows.zip | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libasound2-dev libfreetype-dev libx11-dev libxrandr-dev libxcursor-dev libxinerama-dev libwebkit2gtk-4.1-dev libcurl4-openssl-dev | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Configure | |
| run: cmake -B build -S project -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Package | |
| run: | | |
| mkdir staging | |
| cp -r build/Intersect_artefacts/Release/VST3/INTERSECT.vst3 staging/ | |
| cp build/Intersect_artefacts/Release/Standalone/INTERSECT staging/ | |
| cd staging && zip -r ../INTERSECT-Linux.zip . | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: INTERSECT-Linux | |
| path: INTERSECT-Linux.zip | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Configure | |
| run: cmake -B build -S project -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Package | |
| run: | | |
| mkdir staging | |
| cp -r build/Intersect_artefacts/Release/VST3/INTERSECT.vst3 staging/ | |
| cp -r build/Intersect_artefacts/Release/Standalone/INTERSECT.app staging/ | |
| cp -r build/Intersect_artefacts/Release/AU/INTERSECT.component staging/ | |
| cd staging && zip -r ../INTERSECT-macOS.zip . | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: INTERSECT-macOS | |
| path: INTERSECT-macOS.zip | |
| release: | |
| needs: [build-windows, build-linux, build-macos] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| path: artifacts | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| artifacts/INTERSECT-Windows/INTERSECT-Windows.zip | |
| artifacts/INTERSECT-Linux/INTERSECT-Linux.zip | |
| artifacts/INTERSECT-macOS/INTERSECT-macOS.zip |