Skip to content

Commit 28a13fe

Browse files
authored
Update cmakecheck.yml
1 parent 5307ecb commit 28a13fe

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/cmakecheck.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
macos-version: [13, 15] # You can also test on macOS 15 by adding it to the matrix
13-
14-
12+
macos-version: [13, 15] # You can also test on macOS 13 and 15
1513

1614
steps:
1715
# Checkout the repository
@@ -25,12 +23,17 @@ jobs:
2523
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2624
fi
2725
26+
# Install dependencies for CMake
27+
- name: Install dependencies
28+
run: |
29+
brew install gcc make
30+
2831
# Install CMake 3.31.5 from source
2932
- name: Install CMake 3.31.5 from source
3033
run: |
3134
echo "Installing CMake version 3.31.5 from source..."
3235
33-
# Download the CMake version 3.31.5
36+
# Download the CMake version 3.31.5 tarball
3437
curl -LO https://cmake.org/files/v3.31/cmake-3.31.5.tar.gz
3538
3639
# Extract the tar.gz file
@@ -40,7 +43,7 @@ jobs:
4043
cd cmake-3.31.5
4144
4245
# Run the bootstrap process to configure the build
43-
./bootstrap
46+
./bootstrap --prefix=/opt/cmake-3.31.5
4447
4548
# Compile and install
4649
make

0 commit comments

Comments
 (0)