Skip to content

Commit

Permalink
modify centos ci compile path
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust committed May 14, 2024
1 parent e5aa592 commit c06de9b
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/workflow-self-hosted-centos-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
- "README.md"
release:
types: [push]
# pull_request:
# paths-ignore:
# - "docs/**"
# - "Changelog.md"
# - "README.md"
pull_request:
paths-ignore:
- "docs/**"
- "Changelog.md"
- "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -53,7 +53,9 @@ jobs:
run: |
. /opt/rh/devtoolset-7/enable
. /opt/rh/rh-perl530/enable
cmake . -DWITH_TBB=OFF
mkdir -p build-2
cd build-2
cmake .. -DWITH_TBB=OFF
make fisco-bcos -j4
- name: tar fisco-bcos without tbb
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh
Expand All @@ -65,7 +67,9 @@ jobs:
run: |
. /opt/rh/devtoolset-7/enable
. /opt/rh/rh-perl530/enable
cmake . -DWITH_TBB=ON
mkdir -p build-2
cd build-2
cmake .. -DWITH_TBB=ON
make fisco-bcos -j4
- name: tar fisco-bcos tbb
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh
Expand Down

0 comments on commit c06de9b

Please sign in to comment.