File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
strategy :
11
11
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
15
13
16
14
steps :
17
15
# Checkout the repository
@@ -25,12 +23,17 @@ jobs:
25
23
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
26
24
fi
27
25
26
+ # Install dependencies for CMake
27
+ - name : Install dependencies
28
+ run : |
29
+ brew install gcc make
30
+
28
31
# Install CMake 3.31.5 from source
29
32
- name : Install CMake 3.31.5 from source
30
33
run : |
31
34
echo "Installing CMake version 3.31.5 from source..."
32
35
33
- # Download the CMake version 3.31.5
36
+ # Download the CMake version 3.31.5 tarball
34
37
curl -LO https://cmake.org/files/v3.31/cmake-3.31.5.tar.gz
35
38
36
39
# Extract the tar.gz file
40
43
cd cmake-3.31.5
41
44
42
45
# Run the bootstrap process to configure the build
43
- ./bootstrap
46
+ ./bootstrap --prefix=/opt/cmake-3.31.5
44
47
45
48
# Compile and install
46
49
make
You can’t perform that action at this time.
0 commit comments