pin cmake version to 3.28 (#6156)

* pin cmake version to 3.28

* remove brew install cmake
This commit is contained in:
SoftFever 2024-07-16 22:37:28 +08:00 committed by GitHub
parent c37a871dd2
commit 3bf868f99d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -41,6 +41,10 @@ jobs:
path: ${{ inputs.cache-path }}
key: ${{ inputs.cache-key }}
- uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.28.0" # use most recent 3.28.x version
- name: setup dev on Windows
if: inputs.os == 'windows-latest'
uses: microsoft/setup-msbuild@v2
@ -72,7 +76,6 @@ jobs:
if: inputs.os == 'macos-14'
working-directory: ${{ github.workspace }}
run: |
brew install cmake
brew install automake texinfo ninja libtool
brew list
mkdir -p ${{ github.workspace }}/deps/build_${{ inputs.arch }}

View file

@ -36,6 +36,10 @@ jobs:
key: ${{ inputs.cache-key }}
fail-on-cache-miss: true
- uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.28.0" # use most recent 3.28.x version
- name: Get the version and date on Ubuntu and macOS
if: inputs.os != 'windows-latest'
run: |
@ -77,7 +81,6 @@ jobs:
- name: Install tools mac
if: inputs.os == 'macos-14'
run: |
brew install cmake
brew install tree ninja libtool
brew list
mkdir -p ${{ github.workspace }}/deps/build_${{inputs.arch}}