Skip to content

Commit

Permalink
Fix workflow and use thin LTO, PORTABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
blckngm committed Jul 19, 2023
1 parent a207eb3 commit 5ee9507
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ jobs:
- name: Build godwoken
if: steps.godwoken-cache.outputs.cache-hit != 'true'
working-directory: build/godwoken
run: rustup component add rustfmt && CARGO_PROFILE_RELEASE_LTO=true cargo build --release
env:
# For ckb-rocksdb.
PORTABLE: true
CARGO_PROFILE_RELEASE_LTO: thin
run: rustup component add rustfmt && cargo build --release

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
Expand Down Expand Up @@ -210,7 +214,6 @@ jobs:
docker run --rm ${{ env.IMAGE }} gw-tools --version
docker run --rm ${{ env.IMAGE }} ckb --version
docker run --rm ${{ env.IMAGE }} ckb-cli --version
docker run --rm ${{ env.IMAGE }} ckb-indexer --version
docker run --rm ${{ env.IMAGE }} find /scripts -type f -exec sha1sum {} \;
- name: Record image info to the outputs of this jobs
Expand Down

0 comments on commit 5ee9507

Please sign in to comment.