diff --git a/.forgejo/workflows/ci-native.yml b/.forgejo/workflows/ci-native.yml index faaa2e1..4a0e06c 100644 --- a/.forgejo/workflows/ci-native.yml +++ b/.forgejo/workflows/ci-native.yml @@ -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"