Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
wenlinlee committed Apr 17, 2024
1 parent b65d810 commit c66d4b0
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,67 +31,66 @@ jobs:
run: brew install ccache libomp gmp

- name: configure
run: export SDKROOT=$(xcrun --sdk macosx --show-sdk-path) && CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC=ON

run: mkdir build && cd build && export SDKROOT=$(xcrun --sdk macosx --show-sdk-path) && CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC=ON ..
- name: compile
run: make -j2 && make tar
run: cd build && make -j2 && make tar
- name: tar BcosBuilder
run: mv tools/BcosBuilder . && tar -cvzf BcosBuilder.tgz BcosBuilder
- name: tar fisco-bcos for macOS
run: mv fisco-bcos-air/ bin/ && mv lightnode/fisco-bcos-lightnode/fisco-bcos-lightnode bin/ && cp tools/BcosAirBuilder/build_chain.sh bin/ && cd bin && strip fisco-bcos && strip fisco-bcos-lightnode && tar -cvzf lightnode.tar.gz fisco-bcos-lightnode && tar -cvzf fisco-bcos.tar.gz fisco-bcos build_chain.sh
run: cd build && mv fisco-bcos-air/ bin/ && mv lightnode/fisco-bcos-lightnode/fisco-bcos-lightnode bin/ && cp ../tools/BcosAirBuilder/build_chain.sh bin/ && cd bin && strip fisco-bcos && strip fisco-bcos-lightnode && tar -cvzf lightnode.tar.gz fisco-bcos-lightnode && tar -cvzf fisco-bcos.tar.gz fisco-bcos build_chain.sh
- name: Upload fisco-bcos binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/fisco-bcos.tar.gz
file: build/bin/fisco-bcos.tar.gz
asset_name: fisco-bcos-macOS-x86_64.tar.gz
tag: ${{ github.ref }}
overwrite: true
- name: Upload fisco-bcos-lightnode binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/lightnode.tar.gz
file: build/bin/lightnode.tar.gz
asset_name: fisco-bcos-lightnode-macOS-x86_64.tar.gz
tag: ${{ github.ref }}
overwrite: true
- name: Upload BcosNodeService binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fisco-bcos-tars-service/BcosNodeService.tgz
file: build/fisco-bcos-tars-service/BcosNodeService.tgz
asset_name: BcosNodeService-macOS-x86_64.tgz
tag: ${{ github.ref }}
overwrite: true
- name: Upload BcosRpcService binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fisco-bcos-tars-service/BcosRpcService.tgz
file: build/fisco-bcos-tars-service/BcosRpcService.tgz
asset_name: BcosRpcService-macOS-x86_64.tgz
tag: ${{ github.ref }}
overwrite: true
- name: Upload BcosGatewayService binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fisco-bcos-tars-service/BcosGatewayService.tgz
file: build/fisco-bcos-tars-service/BcosGatewayService.tgz
asset_name: BcosGatewayService-macOS-x86_64.tgz
tag: ${{ github.ref }}
overwrite: true
- name: Upload BcosMaxNodeService binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fisco-bcos-tars-service/BcosMaxNodeService.tgz
file: build/fisco-bcos-tars-service/BcosMaxNodeService.tgz
asset_name: BcosMaxNodeService-macOS-x86_64.tgz
tag: ${{ github.ref }}
overwrite: true
- name: Upload BcosExecutorService binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fisco-bcos-tars-service/BcosExecutorService.tgz
file: build/fisco-bcos-tars-service/BcosExecutorService.tgz
asset_name: BcosExecutorService-macOS-x86_64.tgz
tag: ${{ github.ref }}
overwrite: true
Expand Down

0 comments on commit c66d4b0

Please sign in to comment.