Skip to content

Commit 265a797

Browse files
committed
CI: Use OS-latest
1 parent ae3dbba commit 265a797

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
build:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
19-
fail-fast: true
19+
fail-fast: false
2020
matrix:
2121
os:
22-
- ubuntu-22.04
23-
- windows-2022
24-
- macos-12
22+
- ubuntu-latest
23+
- windows-latest
24+
- macos-latest
2525
preset:
2626
- cpp14
2727
- cpp17
@@ -52,12 +52,9 @@ jobs:
5252
if: ${{ runner.os == 'Windows' }}
5353
uses: ilammy/msvc-dev-cmd@v1
5454

55-
- name: Create Debug build directory
56-
run: mkdir build-debug
57-
5855
- name: Configure Debug Build
5956
run: >
60-
cmake -S . -B ./build-debug -G Ninja --preset ${{ matrix.preset }}
57+
cmake -S . -B ./build-debug --preset ${{ matrix.preset }}
6158
-DCMAKE_BUILD_TYPE=Debug
6259
-DBUILD_TESTING=ON
6360
-DKDALGORITHMS_BUILD_TEST=ON
@@ -72,12 +69,9 @@ jobs:
7269
# the only value of a Release build is that maybe the compiler
7370
# does some optimization that breaks them we do both builds
7471
# in the same worker.
75-
- name: Create Release build directory
76-
run: mkdir build-release
77-
7872
- name: Configure Release Build
7973
run: >
80-
cmake -S . -B ./build-release -G Ninja --preset ${{ matrix.preset }}
74+
cmake -S . -B ./build-release --preset ${{ matrix.preset }}
8175
-DCMAKE_BUILD_TYPE=Release
8276
-DBUILD_TESTING=ON
8377
-DKDALGORITHMS_BUILD_TEST=ON

0 commit comments

Comments
 (0)