mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-09 20:29:12 +02:00
Update build.yml
This commit is contained in:
@@ -3,27 +3,21 @@ name: Build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch
|
workflow_dispatch
|
||||||
|
|
||||||
defaults:
|
env:
|
||||||
run:
|
BUILD_TYPE: Release
|
||||||
shell: bash
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3.3.0
|
|
||||||
with:
|
|
||||||
path: neural-amp-modeler-lv2
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
name: Build Ubuntu
|
name: Build Ubuntu
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
- name: Build Plugin
|
- name: Build Plugin
|
||||||
working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
env:
|
env:
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
run: |
|
run: |
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
||||||
cmake --build . --config Release -j4
|
cmake --build . --config ${BUILD_TYPE} -j4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user