Skip to content

Commit

Permalink
continue testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaveracll committed Jan 9, 2025
1 parent f96c9ac commit 9341090
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Solana build contracts
description: Build Solana contracts

defaults:
run:
working-directory: ./chains/solana

runs:
using: composite
steps:
Expand All @@ -16,6 +12,7 @@ runs:
# token: ${{ steps.token.outputs.access-token }}
- name: Get Anchor Version
id: get_anchor_version
shell: bash
run: |
cd chainlink-ccip
anchor=$(make anchor_version)
Expand All @@ -36,12 +33,14 @@ runs:
key: ${{ runner.os }}-solana-contract-artifacts-${{ hashFiles('**/Cargo.lock') }}
- name: build & save image
if: steps.cache-image.outputs.cache-hit != 'true'
shell: bash
run: |
cd contracts
docker buildx build . -t ccip-solana:build --build-arg ANCHOR_CLI=${{ get_anchor_version.outputs.anchor_version }}
docker save -o docker-build.tar ccip-solana
- name: build & save contract compilation artifacts
if: steps.cache-target.outputs.cache-hit != 'true'
shell: bash
run: |
docker run -v "$(pwd)/":/solana ccip-solana:build bash -c "\
set -eoux pipefail &&\
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ jobs:
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }}
uses: ./.github/actions/setup-solana

# - name: Build Solana artifacts
# if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }}
# uses: ./.github/actions/setup-solana/build-contracts.yml
- name: Build Solana artifacts
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }}
uses: ./.github/actions/setup-solana/build-contracts

- name: Setup wasmd
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }}
Expand Down

0 comments on commit 9341090

Please sign in to comment.