(actions) build tests in Test step
This commit is contained in:
parent
668a66d780
commit
532ed53b10
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -35,12 +35,15 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cmake ${{ env.CMAKE_GENERATOR }} -S "${{ github.workspace }}" -B build -DYAML_BUILD_SHARED_LIBS=${{ env.YAML_BUILD_SHARED_LIBS }} -DYAML_CPP_BUILD_TESTS=${{ env.YAML_CPP_BUILD_TESTS }}
|
cmake ${{ env.CMAKE_GENERATOR }} -S "${{ github.workspace }}" -B build -DYAML_BUILD_SHARED_LIBS=${{ env.YAML_BUILD_SHARED_LIBS }}
|
||||||
cd build && cmake --build . --parallel ${{ steps.cpu-cores.outputs.count }}
|
cd build && cmake --build . --parallel ${{ steps.cpu-cores.outputs.count }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cd build && ctest --output-on-failure
|
run: |
|
||||||
|
cmake ${{ env.CMAKE_GENERATOR }} -S "${{ github.workspace }}" -B build -DYAML_BUILD_SHARED_LIBS=${{ env.YAML_BUILD_SHARED_LIBS }} -DYAML_CPP_BUILD_TESTS=${{ env.YAML_CPP_BUILD_TESTS }}
|
||||||
|
cd build && cmake --build . --parallel ${{ steps.cpu-cores.outputs.count }}
|
||||||
|
ctest --output-on-failure
|
||||||
|
|
||||||
bazel-build:
|
bazel-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user