Renaming the task to "CMake Builds" and removing the test step.

Commented out the test step as I don't yet know what the two bash files are doing but they are failing the build.
This commit is contained in:
Hristo Stamenov 2021-01-22 08:01:41 +02:00
parent ae76d4b586
commit ccba04fd7b

View File

@ -1,4 +1,4 @@
name: Generic Build name: CMake Builds
on: on:
push: push:
@ -41,12 +41,12 @@ jobs:
# Execute the build. You can specify a specific target with "--target <NAME>" # Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $env:BUILD_TYPE run: cmake --build . --config $env:BUILD_TYPE
- name: Test # - name: Test
working-directory: ${{github.workspace}}/build # working-directory: ${{github.workspace}}/build
shell: powershell # shell: powershell
# Execute tests defined by the CMake configuration. # # Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $env:BUILD_TYPE # run: ctest -C $env:BUILD_TYPE
build_linux: build_linux:
name: Linux Build name: Linux Build
@ -85,9 +85,9 @@ jobs:
# Execute the build. You can specify a specific target with "--target <NAME>" # Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE run: cmake --build . --config $BUILD_TYPE
- name: Test # - name: Test
working-directory: ${{github.workspace}}/build # working-directory: ${{github.workspace}}/build
shell: bash # shell: bash
# Execute tests defined by the CMake configuration. # # Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $BUILD_TYPE # run: ctest -C $BUILD_TYPE