Merge pull request #29406 from feici02/ci/wangxu/build

ci: add paths-ignore
This commit is contained in:
WANG Xu 2024-12-30 15:09:35 +08:00 committed by GitHub
commit 430501c8f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 5 deletions

View File

@ -6,6 +6,10 @@ on:
- 'main'
- '3.0'
- '3.1'
paths-ignore:
- 'docs/**'
- 'packaging/**'
- 'tests/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -14,7 +18,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
name: Run unit tests
name: Build and test
steps:
- name: Checkout the repository
@ -32,13 +36,14 @@ jobs:
libgeos-dev libjansson-dev libsnappy-dev liblzma-dev libz-dev \
zlib1g pkg-config libssl-dev gawk
- name: Build and install TDengine
run: |
mkdir debug && cd debug
cmake .. -DBUILD_HTTP=false -DBUILD_JDBC=false \
-DBUILD_TOOLS=true -DBUILD_TEST=off \
-DBUILD_KEEPER=true -DBUILD_DEPENDENCY_TESTS=false
cmake .. -DBUILD_TOOLS=true \
-DBUILD_KEEPER=true \
-DBUILD_HTTP=false \
-DBUILD_TEST=false \
-DBUILD_DEPENDENCY_TESTS=false
make -j 4
sudo make install
which taosd