diff options
| author | Chris Thrasher | 2025-04-26 10:59:42 -0600 |
|---|---|---|
| committer | Chris Thrasher | 2025-04-26 10:59:42 -0600 |
| commit | 5c97a8583dd40db40d79e9752cee7060081bdec8 (patch) | |
| tree | b66816205fa43d14c9c404a0c8f5adc0b17f2e5d /.github | |
| parent | 8cfca70ae879ba59699b224e8d371b8bb9fa12ff (diff) | |
| download | catch3-5c97a8583dd40db40d79e9752cee7060081bdec8.tar.gz | |
Use more modern `-S` for specifying CMake source dir
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/linux-other-builds.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/linux-simple-builds.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/mac-builds-m1.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/mac-builds.yml | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/linux-other-builds.yml b/.github/workflows/linux-other-builds.yml index 4b1ae69e..0ff27556 100644 --- a/.github/workflows/linux-other-builds.yml +++ b/.github/workflows/linux-other-builds.yml @@ -86,7 +86,7 @@ jobs: # Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}. # This is important run: | - cmake -Bbuild -H$GITHUB_WORKSPACE \ + cmake -Bbuild -S$GITHUB_WORKSPACE \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ @@ -133,7 +133,7 @@ jobs: clangtidy="clang-tidy-${{matrix.version}};-use-color" # Use a dummy compiler/linker/ar/ranlib to effectively disable the # compilation and only run clang-tidy. - cmake -Bbuild -H$GITHUB_WORKSPACE \ + cmake -Bbuild -S$GITHUB_WORKSPACE \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ diff --git a/.github/workflows/linux-simple-builds.yml b/.github/workflows/linux-simple-builds.yml index 73529a72..1eec922a 100644 --- a/.github/workflows/linux-simple-builds.yml +++ b/.github/workflows/linux-simple-builds.yml @@ -105,7 +105,7 @@ jobs: # Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}. # This is important run: | - cmake -Bbuild -H$GITHUB_WORKSPACE \ + cmake -Bbuild -S$GITHUB_WORKSPACE \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ diff --git a/.github/workflows/mac-builds-m1.yml b/.github/workflows/mac-builds-m1.yml index 97fc03e1..f65e6c76 100644 --- a/.github/workflows/mac-builds-m1.yml +++ b/.github/workflows/mac-builds-m1.yml @@ -26,7 +26,7 @@ jobs: CXX: ${{matrix.cxx}} CXXFLAGS: ${{matrix.cxxflags}} run: | - cmake -Bbuild -H$GITHUB_WORKSPACE \ + cmake -Bbuild -S$GITHUB_WORKSPACE \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ diff --git a/.github/workflows/mac-builds.yml b/.github/workflows/mac-builds.yml index bd64814d..9c4183e3 100644 --- a/.github/workflows/mac-builds.yml +++ b/.github/workflows/mac-builds.yml @@ -30,7 +30,7 @@ jobs: CXX: ${{matrix.cxx}} CXXFLAGS: ${{matrix.cxxflags}} run: | - cmake -Bbuild -H$GITHUB_WORKSPACE \ + cmake -Bbuild -S$GITHUB_WORKSPACE \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ |