tpu-client-next: add mechanism to implement custom scheduler #16247
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Downstream Project - SPL | |
on: | |
push: | |
branches: | |
- master | |
- v[0-9]+.[0-9]+ | |
pull_request: | |
branches: | |
- master | |
- v[0-9]+.[0-9]+ | |
paths: | |
- "**.rs" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "cargo-build-sbf" | |
- "cargo-test-sbf" | |
- "ci/downstream-projects/run-spl.sh" | |
- ".github/workflows/downstream-project-spl.yml" | |
- ".github/scripts/downstream-project-spl-common.sh" | |
- ".github/scripts/downstream-project-spl-install-deps.sh" | |
workflow_call: | |
inputs: | |
branch: | |
required: false | |
type: string | |
default: "master" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
SHELL: /bin/bash | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
jobs: | |
check: | |
if: github.repository == 'anza-xyz/agave' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
programs: | |
- associated-token-account | |
- feature-proposal | |
- instruction-padding | |
- memo | |
- record | |
- single-pool | |
- slashing | |
- stake-pool | |
- token-2022 | |
# re-enable with https://github.com/buffalojoec/mollusk/pull/74 | |
# - token | |
steps: | |
- uses: actions/checkout@v4 | |
- shell: bash | |
run: | | |
.github/scripts/purge-ubuntu-runner.sh | |
- uses: mozilla-actions/sccache-action@v0.0.5 | |
with: | |
version: "v0.8.1" | |
- shell: bash | |
run: | | |
source .github/scripts/downstream-project-spl-install-deps.sh | |
source .github/scripts/downstream-project-spl-common.sh "${{ matrix.programs }}" | |
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then | |
exit 0 | |
fi | |
cargo check | |
test_cli: | |
if: github.repository == 'anza-xyz/agave' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
programs: | |
- single-pool | |
- token-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- shell: bash | |
run: | | |
.github/scripts/purge-ubuntu-runner.sh | |
- uses: mozilla-actions/sccache-action@v0.0.5 | |
with: | |
version: "v0.8.1" | |
- shell: bash | |
run: | | |
source .github/scripts/downstream-project-spl-install-deps.sh | |
source .github/scripts/downstream-project-spl-common.sh "${{ matrix.programs }}" | |
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then | |
exit 0 | |
fi | |
$CARGO_BUILD_SBF --manifest-path program/Cargo.toml | |
cargo test --manifest-path clients/cli/Cargo.toml | |
cargo-test-sbf: | |
if: github.repository == 'anza-xyz/agave' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
programs: | |
- associated-token-account | |
- feature-proposal | |
- instruction-padding | |
- memo | |
- record | |
- single-pool | |
- slashing | |
- stake-pool | |
- token-2022 | |
# re-enable with https://github.com/buffalojoec/mollusk/pull/74 | |
# - token | |
steps: | |
- uses: actions/checkout@v4 | |
- shell: bash | |
run: | | |
.github/scripts/purge-ubuntu-runner.sh | |
- uses: mozilla-actions/sccache-action@v0.0.5 | |
with: | |
version: "v0.8.1" | |
- shell: bash | |
run: | | |
source .github/scripts/downstream-project-spl-install-deps.sh | |
source .github/scripts/downstream-project-spl-common.sh "${{ matrix.programs }}" | |
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then | |
exit 0 | |
fi | |
$CARGO_TEST_SBF --manifest-path program/Cargo.toml |