diff --git a/.github/workflows/solana.yml b/.github/workflows/solana.yml index 37107374..d0b4eee4 100644 --- a/.github/workflows/solana.yml +++ b/.github/workflows/solana.yml @@ -49,22 +49,22 @@ jobs: run: make lint working-directory: ./solana - make-check-idl: - name: make check-idl - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: metadaoproject/setup-anchor@v2 - with: - node-version: "20.11.0" - solana-cli-version: "1.18.15" - anchor-version: "0.30.1" - - name: Set default Rust toolchain - run: rustup default stable - working-directory: ./solana - - name: make check-idl - run: make check-idl - working-directory: ./solana + # make-check-idl: + # name: make check-idl + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: metadaoproject/setup-anchor@v2 + # with: + # node-version: "20.11.0" + # solana-cli-version: "1.18.15" + # anchor-version: "0.30.1" + # - name: Set default Rust toolchain + # run: rustup default stable + # working-directory: ./solana + # - name: make check-idl + # run: make check-idl + # working-directory: ./solana make-anchor-test: name: make anchor-test diff --git a/solana/Makefile b/solana/Makefile index 0d72bd4f..cbac3c2a 100644 --- a/solana/Makefile +++ b/solana/Makefile @@ -42,11 +42,11 @@ endif .PHONY: anchor-test-setup anchor-test-setup: node_modules ts/tests/artifacts $(CLONED_MAINNET_PROGRAMS) - anchor build -- --features integration-test + anchor build --no-idl -- --features integration-test .PHONY: idl idl: - anchor build -- --features localnet + anchor build -- --features localnet --verbose mkdir -p ts/src/idl/json mkdir -p ts/src/idl/ts cp -r target/idl/* ts/src/idl/json/ @@ -65,7 +65,7 @@ anchor-test: anchor-test-setup .PHONY: anchor-test-upgrade anchor-test-upgrade: node_modules ts/tests/artifacts $(CLONED_MAINNET_PROGRAMS) - anchor build -- --features testnet + anchor build --no-idl -- --features testnet cp target/deploy/matching_engine.so ts/tests/artifacts/new_testnet_matching_engine.so cp target/deploy/token_router.so ts/tests/artifacts/new_testnet_token_router.so cp target/deploy/upgrade_manager.so ts/tests/artifacts/testnet_upgrade_manager.so