Skip to content

Commit

Permalink
v2.0: ci: "Fix" the downstream anchor build (backport of #2208) (#2214)
Browse files Browse the repository at this point in the history
ci: "Fix" the downstream anchor build (#2208)

* ci: "Fix" the downstream anchor build

* Force the CI run to happen

(cherry picked from commit fe652ca)

Co-authored-by: Jon C <[email protected]>
  • Loading branch information
mergify[bot] and joncinque authored Jul 19, 2024
1 parent bd5ee02 commit c6b0570
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/downstream-project-anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- "cargo-build-sbf"
- "cargo-test-sbf"
- "scripts/build-downstream-anchor-projects.sh"
- "scripts/patch-spl-crates-for-anchor.sh"
- ".github/scripts/purge-ubuntu-runner.sh"
- ".github/scripts/downstream-project-spl-install-deps.sh"
- ".github/workflows/downstream-project-anchor.yml"
Expand Down
5 changes: 4 additions & 1 deletion scripts/patch-spl-crates-for-anchor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ patch_crates_io() {
spl-memo = { path = "$spl_dir/memo/program" }
spl-pod = { path = "$spl_dir/libraries/pod" }
spl-token = { path = "$spl_dir/token/program" }
spl-token-2022 = { path = "$spl_dir/token/program-2022" }
# Avoid patching spl-token-2022 to avoid forcing anchor to use 4.0.1, which
# doesn't work with the monorepo forcing 4.0.0. Allow the patching again once
# the monorepo is on 4.0.1, or relax the dependency in the monorepo.
#spl-token-2022 = { path = "$spl_dir/token/program-2022" }
spl-token-group-interface = { path = "$spl_dir/token-group/interface" }
spl-token-metadata-interface = { path = "$spl_dir/token-metadata/interface" }
spl-tlv-account-resolution = { path = "$spl_dir/libraries/tlv-account-resolution" }
Expand Down

0 comments on commit c6b0570

Please sign in to comment.