Add LABEL and LABEL_NAME to the ct_add_dir() function to specify CTes… #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMakeTest Unit Tests | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cmake: [3.19.0, latest, latestrc] | |
env: | |
cmake_version: ${{ matrix.cmake }} | |
os: Linux-x86_64 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Get latest CMake and Ninja | |
uses: lukka/get-cmake@latest | |
with: | |
cmakeVersion: ${{ env.cmake_version }} | |
- name: Check CMake and CTest Versions | |
run: | | |
cmake --version | |
ctest --version | |
- name: Configure Project | |
run: | | |
cmake -H. -Bbuild -DBUILD_TESTING=ON | |
- name: Run Unit Tests | |
run: | | |
cd build | |
ctest -j 2 --output-on-failure | |
docs_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ammaraskar/sphinx-action@master | |
with: | |
docs-folder: "docs/" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |