From 1f0881e70f1f21003895876df46bd3e203792566 Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Thu, 12 Feb 2026 13:54:06 -0500 Subject: [PATCH] ci: install cmake in test-native job (jobs don't share packages) --- .forgejo/workflows/ci-native.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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"