Skip to content

Commit

Permalink
corda: add the corda-build github actions job
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 10, 2021
1 parent 89f3e6f commit dd34254
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ env:
CACHE_DOCKER_FABRIC_DIR: /tmp/fabric
CACHE_DOCKER_TENDERMINT_KEY: docker-tendermint
CACHE_DOCKER_TENDERMINT_DIR: /tmp/tendermint
CACHE_DOCKER_CORDA_KEY: docker-corda
CACHE_DOCKER_CORDA_DIR: /tmp/corda
CACHE_DOCKER_ETHEREUM_GANACHE_KEY: docker-ethereum-ganache
CACHE_DOCKER_ETHEREUM_GANACHE_DIR: /tmp/ethereum/ganache

Expand Down Expand Up @@ -100,6 +102,32 @@ jobs:
fabric-peer0-org2:latest \
fabric-chaincode-org2:latest
corda-build:
name: corda-build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
id: cache-docker-corda
with:
path: ${{ env.CACHE_DOCKER_CORDA_DIR }}
key: ${{ runner.os }}-${{ env.CACHE_DOCKER_CORDA_KEY }}-${{ github.sha }}
- name: Build docker images
if: steps.cache-docker-corda.outputs.cache-hit != 'true'
working-directory: ./tests/chains/corda
run: |
make docker-images
- name: Save docker images
if: steps.cache-docker-corda.outputs.cache-hit != 'true'
working-directory: ./tests/scripts
run: |
./save_docker_images $CACHE_DOCKER_CORDA_DIR \
yui-corda-ibc:latest \
yui-corda-ibc-client:latest \
yui-corda-ibc-lightclientd:latest
ethereum-build:
name: ethereum-build
runs-on: ubuntu-20.04
Expand Down

0 comments on commit dd34254

Please sign in to comment.