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 13
13
runs-on : ubuntu-latest
14
14
strategy :
15
15
matrix :
16
- compiler : [gcc, clang]
17
- build_type : [debug, release]
16
+ compiler : [gcc, clang]
18
17
container :
19
18
image : ghcr.io/ten-framework/ten_building_ubuntu2204
20
19
steps :
@@ -34,35 +33,23 @@ jobs:
34
33
export CXX=clang++
35
34
fi
36
35
37
- if [ "${{ matrix.build_type }}" = "debug" ]; then
38
- ./configure --shared --debug
39
- else
40
- ./configure --shared
41
- fi
36
+ ./configure --shared
42
37
43
38
make -j$(nproc)
44
39
45
40
- name : Package assets
46
41
if : startsWith(github.ref, 'refs/tags/')
47
42
run : |
48
- if [ "${{ matrix.build_type }}" = "debug" ]; then
49
- cd out/Debug
50
- else
51
- cd out/Release
52
- fi
43
+ cd out/Release
53
44
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
56
47
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
58
49
59
50
- name : Publish to release assets
60
51
uses : softprops/action-gh-release@v2
61
52
if : startsWith(github.ref, 'refs/tags/')
62
53
with :
63
54
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