Skip to content

Lines in options files with only spaces are now ignored, and text of first line with error is printed #4516

Lines in options files with only spaces are now ignored, and text of first line with error is printed

Lines in options files with only spaces are now ignored, and text of first line with error is printed #4516

Workflow file for this run

name: cmake-macos-cpp
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE
- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --parallel
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest --parallel --timeout 300 --output-on-failure
release_all_tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake All
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DALL_TESTS=ON
- name: Build All
working-directory: ${{github.workspace}}/build
run: cmake --build . --parallel
- name: Test All
working-directory: ${{github.workspace}}/build
run: ctest --parallel --timeout 300 --output-on-failure
debug:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --parallel
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest --parallel --timeout 300 --output-on-failure
debug_all_tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake All
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DALL_TESTS=ON
- name: Build All
working-directory: ${{github.workspace}}/build
run: cmake --build . --parallel
- name: Test All
working-directory: ${{github.workspace}}/build
run: ctest --parallel --timeout 300 --output-on-failure