Skip to content

Commit

Permalink
Merge pull request #26 from eval-exec/exec/fix-ckb-test-on-aaarch64
Browse files Browse the repository at this point in the history
Fix build ckb test  on arm64
  • Loading branch information
doitian authored Dec 14, 2023
2 parents ddccf4c + ecb05ff commit 554af1c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ jobs:
repository: nervosnetwork/ckb
path: ckb

- name: Build CKB
- if: matrix.platform == 'linux/arm64'
name: Build CKB on arm64
run: |
docker run --platform ${{matrix.platform}} --rm -i -w /ckb -v $(pwd)/ckb:/ckb -e OPENSSL_STATIC=1 -e OPENSSL_LIB_DIR=/usr/local/lib -e OPENSSL_INCLUDE_DIR=/usr/local/include ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-${{ github.sha }} make prod
- if: matrix.platform == 'linux/amd64'
name: Build CKB on amd64
run: |
docker run --platform ${{matrix.platform}} --rm -i -w /ckb -v $(pwd)/ckb:/ckb -e OPENSSL_STATIC=1 -e OPENSSL_LIB_DIR=/usr/local/lib64 -e OPENSSL_INCLUDE_DIR=/usr/local/include ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-${{ github.sha }} make prod
Expand Down

0 comments on commit 554af1c

Please sign in to comment.