From 4ee2c57f7008c41481c829b2c05b45a1b908d325 Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 10 Apr 2023 17:26:51 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05b409d..e92c025 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,27 +3,21 @@ name: Build on: workflow_dispatch -defaults: - run: - shell: bash - +env: + BUILD_TYPE: Release + jobs: - steps: - - uses: actions/checkout@v3.3.0 - with: - path: neural-amp-modeler-lv2 - submodules: recursive - build-ubuntu: name: Build Ubuntu runs-on: ubuntu-latest - steps: + - uses: actions/checkout@v3.3.0 + - name: Build Plugin working-directory: ${{github.workspace}}/build env: CXX: clang++ run: | - cmake .. -DCMAKE_BUILD_TYPE=Release - cmake --build . --config Release -j4 + cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} + cmake --build . --config ${BUILD_TYPE} -j4