Skip to content

Commit 45f6693

Browse files
authored
Reverted to working CMake version
1 parent dad78d8 commit 45f6693

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build/Test
1+
name: Build and Test ldsCtrlEst
22

33
on:
44
push:
@@ -25,16 +25,11 @@ jobs:
2525
if: runner.os != 'Windows'
2626
run: |
2727
if [ "${{ runner.os }}" == "macOS" ]; then
28-
brew install cmake ninja
28+
brew install ninja
2929
elif [ "${{ runner.os }}" == "Linux" ]; then
3030
sudo apt-get update
31-
sudo apt-get install -y cmake build-essential
31+
sudo apt-get install -y build-essential
3232
fi
33-
34-
- name: Set up dependencies for Windows
35-
if: runner.os == 'Windows'
36-
run: |
37-
choco install cmake
3833
3934
- name: Run vcpkg
4035
uses: lukka/run-vcpkg@v11
@@ -57,6 +52,7 @@ jobs:
5752
cmakeListsTxtPath: CMakeLists.txt
5853
configurePreset: 'linux-release'
5954
buildPreset: 'linux-release'
55+
cmakeVersion: '3.31.6'
6056

6157
- name: Configure and build for Windows
6258
if: runner.os == 'Windows'
@@ -66,6 +62,7 @@ jobs:
6662
configurePreset: 'windows-release'
6763
buildPreset: 'windows-release'
6864
buildPresetAdditionalArgs: "['--config Release']"
65+
cmakeVersion: '3.31.6'
6966

7067
- name: Install and Update PATH (Windows only)
7168
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)