From fe662d4273865caf3c46b78777501fcfec60304c Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Wed, 27 Nov 2024 12:18:21 -0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d537e2a..32ebbe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,36 @@ jobs: draft: true tag_name: ${{github.ref}} release_name: Release ${{github.ref}} - + + build-linux-x64: + name: Build Linux x64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.3.0 + with: + submodules: recursive + + - name: Build Plugin + working-directory: ${{github.workspace}}/build + env: + CXX: clang++ + run: | + cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE + cmake --build . --config $BUILD_TYPE -j4 + + - name: Add LV2 Archive + run: tar -czf -Path ${{github.workspace}}\build\neural_amp_modeler.lv2 -Destination neural_amp_modeler_lv2_linux_x64.tgz + + - name: Upload Plugin Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ needs.create_release.outputs.upload_url }} + asset_path: ./neural_amp_modeler_lv2_linux_x64.tgz + asset_name: neural_amp_modeler_lv2_linux_x64 + asset_content_type: application/tgz + build-windows: name: Build Windows needs: create_release