ci: install cmake in test-native job (jobs don't share packages)
Some checks failed
Checkout test / test (push) Successful in 6s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Failing after 39s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 31s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
Some checks failed
Checkout test / test (push) Successful in 6s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Failing after 39s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 31s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
This commit is contained in:
parent
51eb6f9d0d
commit
1f0881e70f
1 changed files with 15 additions and 0 deletions
|
|
@ -104,6 +104,21 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Install cmake and build tools
|
||||
run: |
|
||||
echo "Installing cmake and build dependencies..."
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
if command -v apt-get &> /dev/null; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake zlib1g-dev build-essential
|
||||
elif command -v yum &> /dev/null; then
|
||||
sudo yum install -y cmake zlib-devel gcc-c++
|
||||
fi
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
brew install cmake zlib
|
||||
fi
|
||||
which cmake
|
||||
|
||||
- name: Setup Go
|
||||
run: |
|
||||
REQUIRED_GO="1.23.4"
|
||||
|
|
|
|||
Loading…
Reference in a new issue