Skip to content

Commit eda986b

Browse files
authored
ci: add compatibility 3.3.6.0 (#257)
1 parent 7c405cd commit eda986b

2 files changed

Lines changed: 73 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: sudo taosadapter &
5757

5858
- name: checkout
59-
uses: actions/checkout@v3
59+
uses: actions/checkout@v4
6060
with:
6161
path: 'jdbc-workspace'
6262

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '3.0'
8+
paths-ignore:
9+
- 'LICENSE'
10+
- '*.md'
11+
- '*.txt'
12+
pull_request:
13+
branches:
14+
- main
15+
- '3.0'
16+
paths-ignore:
17+
- 'LICENSE'
18+
- '*.md'
19+
- '*.txt'
20+
21+
jobs:
22+
build:
23+
strategy:
24+
matrix:
25+
# os: [ ubuntu-latest,macos-latest,windows-latest ]
26+
os: [ Ubuntu-22.04 ]
27+
java: [ 8 ]
28+
maven: [ '3.6.3' ]
29+
runs-on: ${{ matrix.os }}
30+
steps:
31+
- name: get TDengine
32+
run: |
33+
wget https://github.com/taosdata/TDengine/releases/download/ver-3.3.6.0/TDengine-server-3.3.6.0-Linux-x64.tar.gz
34+
35+
- name: install
36+
run: |
37+
tar -zxf TDengine-server-3.3.6.0-Linux-x64.tar.gz
38+
cd TDengine-server-3.3.6.0
39+
sudo ./install.sh -e no
40+
41+
- name: shell
42+
run: |
43+
cat >start.sh<<EOF
44+
ulimit -n 65535 && TAOS_SUPPORT_VNODES=256 taosd
45+
EOF
46+
47+
- name: taosd
48+
run: nohup sudo sh ./start.sh &
49+
50+
- name: start taosadapter
51+
run: sudo taosadapter &
52+
53+
- name: checkout
54+
uses: actions/checkout@v4
55+
with:
56+
path: 'jdbc-workspace'
57+
58+
- name: set up java
59+
uses: actions/setup-java@v3
60+
with:
61+
distribution: 'temurin' # See 'Supported distributions' for available options
62+
java-version: ${{ matrix.java }}
63+
java-package: jdk
64+
65+
- name: Test
66+
working-directory: jdbc-workspace
67+
env:
68+
TDENGINE_CLOUD_URL: ${{ secrets.TDENGINE_CLOUD_URL }}
69+
run: mvn -B clean verify --file pom.xml
70+
71+
72+

0 commit comments

Comments
 (0)