Skip to content

Commit

Permalink
give up, manually install libdrift_ffi_sys
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Oct 2, 2024
1 parent 552c933 commit 83dc89c
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 21 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
rustup install 1.76.0-x86_64-unknown-linux-gnu
- name: Format
run: cargo fmt --all -- --check
- name: install libdrift_ffi_sys
run: |
curl -L https://github.com/user-attachments/files/17126152/libdrift_ffi_sys.so.zip > ffi.zip && unzip ffi.zip
sudo ln -sf libdrift_ffi_sys.so /usr/local/lib
- uses: ubicloud/rust-cache@v2
with:
path: |
Expand All @@ -44,14 +48,11 @@ jobs:
- name: Build
run: |
cargo -V
cargo build -vv
./target/debug/drift-gateway -v || true
ldd ./target/debug/drift-gateway
objdump -x ./target/debug/drift-gateway | grep PATH || true
# - name: Test
# env:
# DRIFT_GATEWAY_KEY: ${{ secrets.DRIFT_GATEWAY_KEY }}
# # limit test parallelism to prevent hitting RPC rate-limits
# run: |
# cargo -V
# cargo test --all -- --test-threads=1
cargo check
- name: Test
env:
DRIFT_GATEWAY_KEY: ${{ secrets.DRIFT_GATEWAY_KEY }}
# limit test parallelism to prevent hitting RPC rate-limits
run: |
cargo -V
cargo test --all -- --test-threads=1
122 changes: 113 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
actix-web = "*"
argh = "*"
drift-rs = { git = "https://github.com/drift-labs/drift-rs", branch = "fix/rpath" }
drift-rs = { git = "https://github.com/drift-labs/drift-rs", tag = "v1.0.0-alpha.0" }
env_logger = "*"
futures-util = "*"
log = "*"
Expand Down

0 comments on commit 83dc89c

Please sign in to comment.