Merge pull request #29406 from feici02/ci/wangxu/build
ci: add paths-ignore
This commit is contained in:
commit
430501c8f8
|
@ -6,6 +6,10 @@ on:
|
||||||
- 'main'
|
- 'main'
|
||||||
- '3.0'
|
- '3.0'
|
||||||
- '3.1'
|
- '3.1'
|
||||||
|
paths-ignore:
|
||||||
|
- 'docs/**'
|
||||||
|
- 'packaging/**'
|
||||||
|
- 'tests/**'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
@ -14,7 +18,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Run unit tests
|
name: Build and test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
|
@ -32,13 +36,14 @@ jobs:
|
||||||
libgeos-dev libjansson-dev libsnappy-dev liblzma-dev libz-dev \
|
libgeos-dev libjansson-dev libsnappy-dev liblzma-dev libz-dev \
|
||||||
zlib1g pkg-config libssl-dev gawk
|
zlib1g pkg-config libssl-dev gawk
|
||||||
|
|
||||||
|
|
||||||
- name: Build and install TDengine
|
- name: Build and install TDengine
|
||||||
run: |
|
run: |
|
||||||
mkdir debug && cd debug
|
mkdir debug && cd debug
|
||||||
cmake .. -DBUILD_HTTP=false -DBUILD_JDBC=false \
|
cmake .. -DBUILD_TOOLS=true \
|
||||||
-DBUILD_TOOLS=true -DBUILD_TEST=off \
|
-DBUILD_KEEPER=true \
|
||||||
-DBUILD_KEEPER=true -DBUILD_DEPENDENCY_TESTS=false
|
-DBUILD_HTTP=false \
|
||||||
|
-DBUILD_TEST=false \
|
||||||
|
-DBUILD_DEPENDENCY_TESTS=false
|
||||||
make -j 4
|
make -j 4
|
||||||
sudo make install
|
sudo make install
|
||||||
which taosd
|
which taosd
|
||||||
|
|
Loading…
Reference in New Issue