Cache NFT bridge build

Change-Id: Ib67a3780cd146edd570111cbc443c63bae6219ef
This commit is contained in:
Hendrik Hofstadt 2021-09-13 12:49:40 +02:00
parent 20386593ed
commit 47c5834e6f
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ ENV BRIDGE_ADDRESS="Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"
# Build Wormhole Solana programs
RUN --mount=type=cache,target=bridge/target \
--mount=type=cache,target=modules/token_bridge/target \
--mount=type=cache,target=modules/nft_bridge/target \
--mount=type=cache,target=pyth2wormhole/target \
cargo build-bpf --manifest-path "bridge/program/Cargo.toml" && \
cargo build-bpf --manifest-path "bridge/cpi_poster/Cargo.toml" && \