Update build.yml

This commit is contained in:
Mike Oliphant
2023-04-10 17:26:51 -07:00
committed by GitHub
parent 9fb7e0c0a9
commit 4ee2c57f70
+6 -12
View File
@@ -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