Skip to content

Commit

Permalink
platform-tools-solana: Add action for building Solana Platform toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
vadorovsky committed Nov 1, 2023
1 parent c605f7c commit 4d53d28
Show file tree
Hide file tree
Showing 2 changed files with 560 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/platform-tools-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
sudo apt -y install clang-${{ env.LLVM_VERSION }} cmake lld-${{ env.LLVM_VERSION }} ninja-build
echo /usr/lib/llvm-${{ env.LLVM_VERSION }}/bin >> $GITHUB_PATH
- name: Checkout code
uses: actions/checkout@v2

- name: Checkout Rust code
uses: actions/checkout@v2
with:
Expand All @@ -60,8 +63,13 @@ jobs:

- name: Build Rust
run: |
cp ../binaries/platform-tools-solana/config.toml .
./x.py build --stage 1 --target ${{ matrix.target }},sbf-solana-solana
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

- name: Checkout Cargo code
uses: actions/checkout@v2
with:
Expand Down
Loading

0 comments on commit 4d53d28

Please sign in to comment.