File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ main ]
8
8
9
9
jobs :
10
- build :
10
+ build_upload :
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
@@ -21,28 +21,25 @@ jobs:
21
21
22
22
- name : Configure NanoSDK
23
23
run : |
24
- pwd && ls
25
24
git clone https://github.com/emqx/nanosdk.git
26
25
cd nanosdk
27
- pwd && ls
28
26
mkdir build && cd build
29
27
cmake ..
30
28
make -j2
29
+ pwd && ls
31
30
sudo make install
32
31
cd ../../
33
32
34
33
- name : Configure Parquet
35
34
run : |
36
- pwd && ls
37
35
git clone https://github.com/apache/arrow.git
38
36
cd arrow/cpp
39
37
git checkout apache-arrow-14.0.2
40
- pwd && ls
41
38
mkdir build && cd build
42
39
cmake -DARROW_PARQUET=ON -DARROW_BUILD_SHARED=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=OFF -DARROW_WITH_SNAPPY=OFF -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=ON -DARROW_USE_OPENSSL=ON -DPARQUET_REQUIRE_ENCRYPTION=ON ..
43
40
make -j2
41
+ pwd && ls
44
42
sudo make install
45
- cd ../../..
46
43
47
44
- name : Build
48
45
run : |
51
48
cd build
52
49
cmake ..
53
50
make -j2
51
+ ldd ./parquet-tool
54
52
55
53
- name : Run tests
56
54
run : |
57
55
cd build
56
+ mkdir testdir
58
57
./test_parquet
58
+
59
+ - name : Prepare to release
60
+ run : |
61
+ mkdir release
62
+ mkdir release/parquet-tool-x86
63
+ mv build/parquet-tool release/parquet-tool-x86/
64
+ mv nanosdk/build/libnng.* release/parquet-tool-x86/
65
+ cd release
66
+ tar -czf parquet-tool-x86.tar.gz parquet-tool-x86
67
+
68
+ - name : Create Release
69
+ uses : softprops/action-gh-release@v2
70
+ if : startsWith(github.ref, 'refs/tags/')
71
+ with :
72
+ prerelease : ${{ steps.prerelease.outputs.prerelease }}
73
+ generate_release_notes : true
74
+ token : ${{ github.token }}
75
+ name : Parquet-Tool ${{ github.ref_name }} Released
76
+ files : release/*.tar.gz
77
+
You can’t perform that action at this time.
0 commit comments