forked from conan-io/conan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Uilian Ries <[email protected]>
- Loading branch information
1 parent
68875bb
commit f82d8d8
Showing
2 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
testing-osx: | ||
runs-on: macos-latest | ||
|
||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -30,14 +31,29 @@ jobs: | |
pip install meson | ||
pip install ninja | ||
- name: Cache CMake | ||
uses: actions/cache@v3 | ||
with: | ||
path: /opt/cmake/${{ steps.cmake_version.outputs.version }} | ||
key: cmake-${{ steps.cmake_version.outputs.version }}-${{ runner.os }}-${{ runner.arch }} | ||
restore-keys: | | ||
cmake-${{ runner.os }}-${{ runner.arch }} | ||
- name: Install CMake versions | ||
working-directory: /tmp | ||
run: | | ||
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
for version in 3.15.7 3.16.9 3.17.5 3.19.7 3.23.1; do | ||
INSTALL_DIR=/opt/cmake/$version | ||
if [ ! -d "$INSTALL_DIR" ]; then | ||
curl -L https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz -o cmake-$version.tar.gz | ||
tar -xzf cmake-$version.tar.gz | ||
cd cmake-$version/ | ||
./bootstrap --prefix=$INSTALL_DIR | ||
make -j$(nproc) | ||
make install | ||
cd .. | ||
rm -rf cmake-$version cmake-$version.tar.gz | ||
fi | ||
- name: Install xcodegen | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters