From 28a13fea25725f2eb36dece02b2f0d55eaf6e24b Mon Sep 17 00:00:00 2001 From: sangeeths03 Date: Sun, 23 Mar 2025 23:36:48 -0700 Subject: [PATCH] Update cmakecheck.yml --- .github/workflows/cmakecheck.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmakecheck.yml b/.github/workflows/cmakecheck.yml index 414af550..32ae1bcc 100644 --- a/.github/workflows/cmakecheck.yml +++ b/.github/workflows/cmakecheck.yml @@ -9,9 +9,7 @@ jobs: strategy: matrix: - macos-version: [13, 15] # You can also test on macOS 15 by adding it to the matrix - - + macos-version: [13, 15] # You can also test on macOS 13 and 15 steps: # Checkout the repository @@ -25,12 +23,17 @@ jobs: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi + # Install dependencies for CMake + - name: Install dependencies + run: | + brew install gcc make + # Install CMake 3.31.5 from source - name: Install CMake 3.31.5 from source run: | echo "Installing CMake version 3.31.5 from source..." - # Download the CMake version 3.31.5 + # Download the CMake version 3.31.5 tarball curl -LO https://cmake.org/files/v3.31/cmake-3.31.5.tar.gz # Extract the tar.gz file @@ -40,7 +43,7 @@ jobs: cd cmake-3.31.5 # Run the bootstrap process to configure the build - ./bootstrap + ./bootstrap --prefix=/opt/cmake-3.31.5 # Compile and install make