ci: add support for release or debug

Signed-off-by: Mike <michael.johanson@intel.com>
This commit is contained in:
Mike
2021-01-28 13:41:34 -07:00
parent 01316bcfa2
commit ecc31a25f7
3 changed files with 101 additions and 85 deletions

View File

@@ -37,7 +37,9 @@ jobs:
shell: bash
- name: Prepare for build
run: cd build && cmake .. -DCMAKE_PREFIX_PATH=D:/a/rpc/rpc/vcpkg/installed/x64-windows-static -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE=D:/a/rpc/rpc/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build RPC
- name: Build RPC (Release)
run: cd build && cmake --build . --config Release
- name: Build RPC (Release)
run: cd build && cmake --build . --config Debug
@@ -69,5 +71,7 @@ jobs:
shell: bash
- name: Prepare for build
run: cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ runner.workspace }}/rpc/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build RPC
run: cd build && cmake --build . --config Debug
- name: Build RPC (Release)
run: cd build && cmake --build . --config Release
- name: Build RPC (Release)
run: cd build && cmake --build . --config Debug