ci: sort dependencies

Signed-off-by: WANG Xu <feici02@outlook.com>
This commit is contained in:
WANG Xu 2025-02-17 20:07:52 +08:00
parent cf627c770d
commit 82b4069925
No known key found for this signature in database
GPG Key ID: 243B1A4F56B56F50
1 changed files with 24 additions and 6 deletions

View File

@ -11,7 +11,7 @@ on:
- 'packaging/**' - 'packaging/**'
- 'tests/**' - 'tests/**'
- '*.md' - '*.md'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -43,15 +43,33 @@ jobs:
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: |
sudo apt update -y sudo apt update -y
sudo apt install -y build-essential cmake \ sudo apt install -y \
libgeos-dev libjansson-dev libsnappy-dev liblzma-dev libz-dev \ build-essential \
zlib1g pkg-config libssl-dev gawk cmake \
gawk \
libgeos-dev \
libjansson-dev \
liblzma-dev \
libsnappy-dev \
libssl-dev \
libz-dev \
pkg-config \
zlib1g
- name: Install dependencies on macOS - name: Install dependencies on macOS
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
brew update brew update
brew install argp-standalone gflags pkg-config snappy zlib geos jansson gawk openssl brew install \
argp-standalone \
gawk \
gflags \
geos \
jansson \
openssl \
pkg-config \
snappy \
zlib
- name: Build and install TDengine - name: Build and install TDengine
run: | run: |
@ -80,7 +98,7 @@ jobs:
run: | run: |
taosBenchmark -t 10 -n 10 -y taosBenchmark -t 10 -n 10 -y
taos -s "select count(*) from test.meters" taos -s "select count(*) from test.meters"
- name: Clean up - name: Clean up
if: always() if: always()
run: | run: |