Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/anchor-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,15 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
# Fetched from the GitHub release rather than release.anza.xyz: that host
# has no usable artefact for parts of the 4.x line (the beta-channel notes
# in native.yml record a 404 for v4.0), and the release asset is a plain
# static URL, so this also avoids the GitHub API rate limiting that made
# the other workflows pin an exact version.
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made every workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.1
# resolves solana-* at ~4.3 (see the pins added in 3134c69b), so the
# toolchain that builds the .so is from the same era as the runtime that
# executes it. Bump this together with those crate pins.
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,15 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
# Fetched from the GitHub release rather than release.anza.xyz: that host
# has no usable artefact for parts of the 4.x line (the beta-channel notes
# in native.yml record a 404 for v4.0), and the release asset is a plain
# static URL, so this also avoids the GitHub API rate limiting that made
# the other workflows pin an exact version.
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made every workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.1
# resolves solana-* at ~4.3 (see the pins added in 3134c69b), so the
# toolchain that builds the .so is from the same era as the runtime that
# executes it. Bump this together with those crate pins.
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
Expand Down
36 changes: 16 additions & 20 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,32 +250,28 @@ jobs:
# Make the script executable
chmod +x build_and_test.sh

- name: Setup Solana Stable
uses: heyAyushh/setup-solana@v5.9
with:
# Pin an exact version rather than a tag like "stable", which setup-solana resolves via the GitHub API (can fail with 429).
solana-cli-version: 3.1.14
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made this workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
https://github.com/anza-xyz/agave/releases/download/v4.3.2/solana-release-x86_64-unknown-linux-gnu.tar.bz2
mkdir -p "$HOME/.local/share/solana-release"
tar -xjf /tmp/solana-release.tar.bz2 -C "$HOME/.local/share/solana-release" --strip-components=1
echo "$HOME/.local/share/solana-release/bin" >> "$GITHUB_PATH"
- name: Build and Test with Stable
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "stable"
# continue-on-error because the beta channel may not have a valid release
# (e.g. v4.0 returns 404 from release.anza.xyz). This is an upstream issue
# with heyAyushh/setup-solana — beta setup clears the stable install first.
- name: Setup Solana Beta
continue-on-error: true
uses: heyAyushh/setup-solana@v5.9
with:
solana-cli-version: beta
- name: Build and Test with Beta
continue-on-error: true
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "beta"

- name: Set failed projects output
id: set-failed
Expand Down
36 changes: 16 additions & 20 deletions .github/workflows/pinocchio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,32 +266,28 @@ jobs:
# Make the script executable
chmod +x build_and_test.sh

- name: Setup Solana Stable
uses: heyAyushh/setup-solana@v5.9
with:
# Pin an exact version rather than a tag like "stable", which setup-solana resolves via the GitHub API (can fail with 429).
solana-cli-version: 3.1.14
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made this workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
https://github.com/anza-xyz/agave/releases/download/v4.3.2/solana-release-x86_64-unknown-linux-gnu.tar.bz2
mkdir -p "$HOME/.local/share/solana-release"
tar -xjf /tmp/solana-release.tar.bz2 -C "$HOME/.local/share/solana-release" --strip-components=1
echo "$HOME/.local/share/solana-release/bin" >> "$GITHUB_PATH"
- name: Build and Test with Stable
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "stable"
# continue-on-error because the beta channel may not have a valid release
# (e.g. v4.0 returns 404 from release.anza.xyz). This is an upstream issue
# with heyAyushh/setup-solana — beta setup clears the stable install first.
- name: Setup Solana Beta
continue-on-error: true
uses: heyAyushh/setup-solana@v5.9
with:
solana-cli-version: beta
- name: Build and Test with Beta
continue-on-error: true
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "beta"

- name: Set failed projects output
id: set-failed
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/quasar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,22 @@ jobs:
EOF

chmod +x build_and_test.sh
- name: Setup Solana Stable
uses: heyAyushh/setup-solana@v5.9
with:
# Pin an exact version rather than a tag like "stable", which setup-solana resolves via the GitHub API (can fail with 429).
solana-cli-version: 3.1.14
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made this workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
https://github.com/anza-xyz/agave/releases/download/v4.3.2/solana-release-x86_64-unknown-linux-gnu.tar.bz2
mkdir -p "$HOME/.local/share/solana-release"
tar -xjf /tmp/solana-release.tar.bz2 -C "$HOME/.local/share/solana-release" --strip-components=1
echo "$HOME/.local/share/solana-release/bin" >> "$GITHUB_PATH"
- name: Install Quasar CLI
# Pinned to the 0.1.0-release branch head. crates.io still hosts
# 0.0.0 placeholders for quasar-cli, so the release line installs
Expand Down
38 changes: 17 additions & 21 deletions .github/workflows/solana-asm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,38 +201,34 @@ jobs:

# Install sbpf assembler from HEAD. HEAD emits SBPF v3 (0x03 OS-ABI)
# ELF, which requires litesvm >= 0.13 (Agave 4.0) to load; the
# workspace pins litesvm 0.18.1. If a future sbpf change breaks
# workspace pins litesvm 0.18.2. If a future sbpf change breaks
# loading, pin a revision here with --rev.
#
# The package name is required: the repository now also ships an
# `xtask` binary, and cargo refuses to guess between two binaries.
cargo install --git https://github.com/blueshift-gg/sbpf.git sbpf
- name: Setup Solana Stable
uses: heyAyushh/setup-solana@v5.9
with:
# Pin an exact version rather than a tag like "stable", which setup-solana resolves via the GitHub API (can fail with 429).
solana-cli-version: 3.1.14
# Fetched from the GitHub release rather than release.anza.xyz, which has
# no usable artefact for parts of the 4.x line. The release asset is a
# plain static URL, so this also avoids the GitHub API rate limiting that
# made this workflow pin an exact version through setup-solana.
#
# 4.3.2 matches the Agave crate line the examples pin: LiteSVM 0.18.2
# resolves solana-* at ~4.3.2, so the toolchain that builds the .so is
# from the same era as the runtime that executes it. Bump this together
# with the litesvm version.
- name: Install Solana CLI
run: |
curl -sSfL -o /tmp/solana-release.tar.bz2 \
https://github.com/anza-xyz/agave/releases/download/v4.3.2/solana-release-x86_64-unknown-linux-gnu.tar.bz2
mkdir -p "$HOME/.local/share/solana-release"
tar -xjf /tmp/solana-release.tar.bz2 -C "$HOME/.local/share/solana-release" --strip-components=1
echo "$HOME/.local/share/solana-release/bin" >> "$GITHUB_PATH"
- name: Build and Test with Stable
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "stable"
# continue-on-error because the beta channel may not have a valid release
# (e.g. v4.0 returns 404 from release.anza.xyz). This is an upstream issue
# with heyAyushh/setup-solana — beta setup clears the stable install first.
- name: Setup Solana Beta
continue-on-error: true
uses: heyAyushh/setup-solana@v5.9
with:
solana-cli-version: beta
- name: Build and Test with Beta
continue-on-error: true
run: |
source build_and_test.sh
solana -V
rustc -V
process_projects "beta"

- name: Set failed projects output
id: set-failed
Expand Down
Loading