Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Jan 14, 2025
1 parent c3ef203 commit 331b929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: install libdrift_ffi_sys
run: |
curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so
sudo cp libdrift_ffi_sys.so /usr/lib/
curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so
cp libdrift_ffi_sys.so /usr/lib/
- name: Build
run: |
cargo -V
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y libgcc1
WORKDIR /build
COPY . .
RUN rustup component add rustfmt && rustup install 1.76.0-x86_64-unknown-linux-gnu
RUN curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so && cp libdrift_ffi_sys.so /usr/local/lib
RUN curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so && cp libdrift_ffi_sys.so /usr/local/lib

# DEV: choose to build drift system libs from source or not
# a) default: use prebuilt lib (faster build time)
Expand Down

0 comments on commit 331b929

Please sign in to comment.