Skip to content

Commit 5d79173

Browse files
committed
Add gcc 15 to CI
1 parent b3c63ec commit 5d79173

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,14 +528,14 @@ jobs:
528528
# Some projects don't allow in-source building, so create a separate build directory
529529
# We'll use this as our working directory for all subsequent commands
530530
# Use the GITHUB_WORKSPACE env var so the path resolves correctly inside containers (/__w/...)
531-
run: cmake -E make_directory "${{ github.workspace }}/build"
531+
run: cmake -E make_directory "build"
532532

533533
- name: Configure CMake
534534
if: (!contains(matrix.config.mingw, 'MINGW'))
535535
# Use a bash shell so we can use the same syntax for environment variable
536536
# access regardless of the host operating system
537537
shell: bash
538-
working-directory: ${{ github.workspace }}/build
538+
working-directory: build
539539
env:
540540
CXX: ${{ matrix.config.cxx }}
541541
# Note the current convention is to use the -S and -B options here to specify source
@@ -555,14 +555,14 @@ jobs:
555555
556556
- name: Build
557557
if: (!contains(matrix.config.mingw, 'MINGW'))
558-
working-directory: ${{ github.workspace }}/build
558+
working-directory: build
559559
shell: bash
560560
# Execute the build. You can specify a specific target with "--target <NAME>"
561561
run: cmake --build . --config ${{ matrix.config.buildtype }}
562562

563563
- name: Test
564564
if: (!contains(matrix.config.mingw, 'MINGW'))
565-
working-directory: ${{ github.workspace }}/build
565+
working-directory: build
566566
shell: bash
567567
# Execute tests defined by the CMake configuration.
568568
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail

0 commit comments

Comments
 (0)