Update Selftest workflow file

This commit is contained in:
Joseph Henry
2021-03-16 14:18:36 -07:00
parent c5a31ba533
commit 1f981379ca

View File

@@ -1,4 +1,4 @@
name: CMake
name: Selftest
on: [push]
@@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install libcurl (used for Central API)
run: sudo apt-get install libcurl3 -y
- name: Checkout submodules
run: git submodule update --init
@@ -30,8 +33,8 @@ jobs:
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
@@ -44,6 +47,6 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
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
run: ctest -C $BUILD_TYPE