Skip to content

Commit

Permalink
Build from source for other operating systems without avm
Browse files Browse the repository at this point in the history
  • Loading branch information
olasunkanmiraymond committed Sep 27, 2024
1 parent a279943 commit 4587af9
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,9 @@ jobs:

- name: Install Solana
working-directory: ./school
run: sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"

- name: Add Solana to PATH
run: echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH

- name: Install Anchor
run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli

- name: Build
run: anchor build

- name: Run tests
run: anchor test
run: |
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
anchor build
anchor test

0 comments on commit 4587af9

Please sign in to comment.