From 9fb7e0c0a9460a37ead3ae642e30f51403b2daaa Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 10 Apr 2023 16:54:54 -0700 Subject: [PATCH 1/4] Create build.yml --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..05b409d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build + +on: + workflow_dispatch + +defaults: + run: + shell: bash + +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: + - name: Build Plugin + working-directory: ${{github.workspace}}/build + env: + CXX: clang++ + run: | + cmake .. -DCMAKE_BUILD_TYPE=Release + cmake --build . --config Release -j4 + From 4ee2c57f7008c41481c829b2c05b45a1b908d325 Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 10 Apr 2023 17:26:51 -0700 Subject: [PATCH 2/4] 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 From 123df46041139d3ba7d919d7c3a6a402982eda31 Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 10 Apr 2023 17:28:55 -0700 Subject: [PATCH 3/4] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e92c025..3e0bc37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,6 @@ jobs: env: CXX: clang++ run: | - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} - cmake --build . --config ${BUILD_TYPE} -j4 + cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE + cmake --build . --config $BUILD_TYPE -j4 From cde8785a4dd76deb2157700c41f0a2f79cb064ae Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 10 Apr 2023 17:31:50 -0700 Subject: [PATCH 4/4] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e0bc37..4d36030 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.3.0 + with: + submodules: recursive - name: Build Plugin working-directory: ${{github.workspace}}/build