Skip to content

Commit

Permalink
pack and not tar src/*so
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Aug 11, 2022
1 parent b560b4a commit dc6aaeb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lint_and_test_cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,16 @@ jobs:
ccache -z
./run.sh build --test --skip_thirdparty -j $(nproc) -t release
ccache -s
- name: Pack Server
if: steps.changes.outputs.base == 'true' || steps.changes.outputs.src == 'true' || steps.changes.outputs.thirdparty == 'true'
run: ./run.sh pack_server
- name: Pack Tools
if: steps.changes.outputs.base == 'true' || steps.changes.outputs.src == 'true' || steps.changes.outputs.thirdparty == 'true'
run: ./run.sh pack_tools
- name: Tar files
run: |
rm -rf thirdparty
tar -zcvhf release__builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini src/builder/src/rdsn/src/utils/libdsn_utils.so src/builder/src/rdsn/src/replica/libdsn_replica_server.so src/builder/src/rdsn/src/meta/libdsn_meta_server.so src/builder/src/client_lib/libpegasus_client_shared.so --exclude='*CMakeFiles*'
tar -zcvhf release__builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini --exclude='*CMakeFiles*'
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -203,7 +209,7 @@ jobs:
- name: Tar files
run: |
rm -rf thirdparty
tar -zcvhf release_address_builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini src/builder/src/rdsn/src/utils/libdsn_utils.so src/builder/src/rdsn/src/replica/libdsn_replica_server.so src/builder/src/rdsn/src/meta/libdsn_meta_server.so src/builder/src/client_lib/libpegasus_client_shared.so --exclude='*CMakeFiles*'
tar -zcvhf release_address_builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini --exclude='*CMakeFiles*'
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -310,7 +316,7 @@ jobs:
- name: Tar files
run: |
rm -rf thirdparty
tar -zcvhf release_undefined_builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini src/builder/src/rdsn/src/utils/libdsn_utils.so src/builder/src/rdsn/src/replica/libdsn_replica_server.so src/builder/src/rdsn/src/meta/libdsn_meta_server.so src/builder/src/client_lib/libpegasus_client_shared.so --exclude='*CMakeFiles*'
tar -zcvhf release_undefined_builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini --exclude='*CMakeFiles*'
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
src/.matchfile
src/base/rrdb_types.cpp
src/include/rrdb/rrdb_types.h
src/rdsn/builder/
src/rdsn/include/dsn/cpp/serialization_helper/dsn.layer2_types.h
src/rdsn/src/runtime/dsn.layer2_types.cpp
src/runtime
src/builder
src/*builder

onebox/
.zk_install/
Expand Down

0 comments on commit dc6aaeb

Please sign in to comment.