Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 authored Sep 5, 2022
1 parent 368755e commit c387a6c
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
source /opt/rh/rh-perl530/enable
export LIBCLANG_PATH=/opt/rh/llvm-toolset-7/root/lib64/
source /opt/rh/llvm-toolset-7/enable
cmake3 . -DCMAKE_BUILD_TYPE=Debug -DBUILD_STATIC=ON -DTESTS=OFF
cmake3 . -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC=ON -DTESTS=OFF
make -j4
make tar
- name: tar fisco-bcos for CentOS
Expand Down Expand Up @@ -189,4 +189,24 @@ jobs:
file: tools/BcosAirBuilder/build_chain.sh
asset_name: build_chain.sh
tag: ${{ github.ref }}
overwrite: true
overwrite: true
- name: configure and compile relwithdeb
run: |
source /opt/rh/devtoolset-10/enable
source /opt/rh/rh-perl530/enable
export LIBCLANG_PATH=/opt/rh/llvm-toolset-7/root/lib64/
source /opt/rh/llvm-toolset-7/enable
cmake3 . -DBUILD_STATIC=ON -DTESTS=OFF
make -j4
make tar
- name: tar fisco-bcos for CentOS
run: mkdir bin && mv fisco-bcos-air/fisco-bcos bin && cd bin && tar -cvzf fisco-bcos-relwithdebinfo.tar.gz fisco-bcos
- name: Upload fisco-bcos binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/fisco-bcos-relwithdebinfo.tar.gz
asset_name: fisco-bcos-linux-x86_64-relwithdebinfo.tar.gz
tag: ${{ github.ref }}
overwrite: true

0 comments on commit c387a6c

Please sign in to comment.