Skip to content

Commit

Permalink
use built ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Nov 21, 2024
1 parent cffb89d commit edbba12
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,11 @@ jobs:
run: |
rustup show active-toolchain
rustup component add clippy rustfmt
- name: install libdrift_ffi_sys
run: |
curl -L https://github.com/user-attachments/files/17806677/libdrift_ffi_sys.so.zip > ffi.zip
unzip ffi.zip
ldd libdrift_ffi_sys.so
sudo cp libdrift_ffi_sys.so /usr/lib
ldconfig -p
rustup install 1.76.0-x86_64-unknown-linux-gnu
- name: Format
run: cargo fmt --all -- --check
- name: Build
run: cargo check
env:
CARGO_DRIFT_FFI_PATH: "/usr/lib"
# - name: Clippy
# uses: giraffate/clippy-action@v1
# with:
Expand All @@ -59,5 +51,4 @@ jobs:
RUST_LOG: info
TEST_DEVNET_RPC_ENDPOINT: ${{ secrets.DEVNET_RPC_ENDPOINT }}
TEST_MAINNET_RPC_ENDPOINT: ${{ secrets.MAINNET_RPC_ENDPOINT }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
CARGO_DRIFT_FFI_PATH: "/usr/lib"
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}

0 comments on commit edbba12

Please sign in to comment.