Skip to content

Commit

Permalink
added build-bpf to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Nov 13, 2023
1 parent f8e94ee commit 41aa366
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master

env:
SOLANA_VERSION: v1.16.3

jobs:
misc:
name: Miscellaneous checks
Expand Down Expand Up @@ -35,6 +38,24 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- -D warnings

solana-build:
name: Cargo Build using bpf (solana env)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt

- name: Install Solana CLI
run: curl -sSfL https://release.solana.com/$SOLANA_VERSION/install | sh
shell: bash

- name: Run build-bpf
run: cargo build-bpf

stable:
name: Rust tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 41aa366

Please sign in to comment.