mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-06 19:50:11 +02:00
Update release.yml
This commit is contained in:
@@ -28,6 +28,35 @@ jobs:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user