Skip to content

Commit 4b6e958

Browse files
author
Tristan Youngs
committed
Try an action.
1 parent 1131b86 commit 4b6e958

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎.github/workflows/build/osx/action.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ runs:
3838
brew update-reset
3939
brew install gsl
4040
brew uninstall --ignore-dependencies freetype
41-
sudo find /usr/local/bin -type l -lname '/Applications/CMake.app/*' -delete
42-
sudo rm -rf /Applications/CMake.app
43-
curl --silent --location --retry 3 "https://github.com/Kitware/CMake/releases/download/v3.31.7/cmake-3.31.7-macos10.10-universal.dmg" --output ./cmake-macos.dmg
44-
yes | PAGER=cat hdiutil attach -quiet -mountpoint /Volumes/cmake-macos ./cmake-macos.dmg
45-
cp -R /Volumes/cmake-macos/CMake.app /Applications/
46-
hdiutil detach /Volumes/cmake-macos
47-
cmake --version
41+
42+
- name: Install CMake3
43+
uses: jwlawson/actions-setup-cmake@v2.2.0
44+
with:
45+
cmake-version: '3.30'
4846

4947
- name: Get ANTLR
5048
working-directory: ${{ runner.temp }}

0 commit comments

Comments
 (0)