File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16- compiler : [gcc, clang]
17- build_type : [debug, release]
16+ compiler : [gcc, clang]
1817 container :
1918 image : ghcr.io/ten-framework/ten_building_ubuntu2204
2019 steps :
@@ -34,35 +33,23 @@ jobs:
3433 export CXX=clang++
3534 fi
3635
37- if [ "${{ matrix.build_type }}" = "debug" ]; then
38- ./configure --shared --debug
39- else
40- ./configure --shared
41- fi
36+ ./configure --shared
4237
4338 make -j$(nproc)
4439
4540 - name : Package assets
4641 if : startsWith(github.ref, 'refs/tags/')
4742 run : |
48- if [ "${{ matrix.build_type }}" = "debug" ]; then
49- cd out/Debug
50- else
51- cd out/Release
52- fi
43+ cd out/Release
5344
54- # rename the file libnode.so.127 to libnode.so
55- mv libnode.so.127 libnode.so
45+ # ln -s libnode.so.127 libnode.so
46+ ln -s libnode.so.127 libnode.so
5647
57- zip node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip libnode.so
48+ zip node-shared-linux-x64-${{ matrix.compiler }}.zip libnode.so libnode.so.127
5849
5950 - name : Publish to release assets
6051 uses : softprops/action-gh-release@v2
6152 if : startsWith(github.ref, 'refs/tags/')
6253 with :
6354 files : |
64- if [ "${{ matrix.build_type }}" = "debug" ]; then
65- out/Debug/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
66- else
67- out/Release/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
68- fi
55+ out/Release/node-shared-linux-x64-${{ matrix.compiler }}.zip
You can’t perform that action at this time.
0 commit comments