File tree Expand file tree Collapse file tree 5 files changed +289
-270
lines changed
Expand file tree Collapse file tree 5 files changed +289
-270
lines changed Original file line number Diff line number Diff line change 3333 rustup show active-toolchain
3434 - name : Format
3535 run : cargo fmt --all -- --check
36- - name : install libdrift_ffi_sys
37- run : |
38- curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.103.0/libdrift_ffi_sys.so.zip > ffi.zip && unzip ffi.zip
39- sudo cp libdrift_ffi_sys.so /lib/
4036 - uses : ubicloud/rust-cache@v2
4137 with :
4238 path : |
@@ -45,15 +41,22 @@ jobs:
4541 ~/.cargo/git/db/
4642 target/
4743 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
44+ - name : install libdrift_ffi_sys
45+ run : |
46+ curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so
47+ sudo cp libdrift_ffi_sys.so /usr/lib/
4848 - name : Build
4949 run : |
5050 cargo -V
5151 cargo check
52+ env :
53+ CARGO_DRIFT_FFI_PATH : /usr/lib
5254 - name : Test
5355 env :
5456 DRIFT_GATEWAY_KEY : ${{ secrets.DRIFT_GATEWAY_KEY }}
5557 TEST_DELEGATED_SIGNER : ${{ secrets.TEST_DELEGATED_SIGNER }}
5658 TEST_RPC_ENDPOINT : ${{ secrets.DEVNET_RPC_ENDPOINT }}
59+ CARGO_DRIFT_FFI_PATH : /usr/lib
5760 # --test-threads, limit parallelism to prevent hitting RPC rate-limits
5861 run : |
5962 cargo -V
You can’t perform that action at this time.
0 commit comments