diff --git a/.github/workflows/taosd-ci-build.yml b/.github/workflows/taosd-ci-build.yml index 753cd5b48f..f0c985eb77 100644 --- a/.github/workflows/taosd-ci-build.yml +++ b/.github/workflows/taosd-ci-build.yml @@ -10,8 +10,6 @@ on: - 'docs/**' - 'packaging/**' - 'tests/**' - - 'README.md' - - 'README-CN.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -19,11 +17,8 @@ concurrency: jobs: build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13, macos-14, macos-15] - name: Build and test on ${{ matrix.os }} + runs-on: ubuntu-latest + name: Build and test steps: - name: Checkout the repository @@ -35,11 +30,18 @@ jobs: go-version: 1.18 - name: Install system dependencies + if: runner.os == 'Linux' run: | sudo apt update -y sudo apt install -y build-essential cmake \ libgeos-dev libjansson-dev libsnappy-dev liblzma-dev libz-dev \ - zlib1g pkg-config libssl-dev gawk + zlib1g-dev pkg-config libssl-dev gawk + + - name: Install dependencies on macOS + if: runner.os == 'macOS' + run: | + brew update + brew install argp-standalone gflags pkg-config snappy zlib geos jansson gawk openssl - name: Build and install TDengine run: |