Skip to content

Commit

Permalink
update the github action
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jul 20, 2024
1 parent 216caf7 commit 041db01
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release-swift-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,11 @@ jobs:
run: |
cargo install cross --git https://github.com/cross-rs/cross
- name: Install OpenSSL
working-directory: bindings_ffi
run: brew install openssl@3

- name: Download and build SQLCipher
working-directory: bindings_ffi
run: |
export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
make download-sqlcipher
make build-sqlcipher
- name: Build target
env:
CROSS_NO_WARNINGS: "0"
run: |
cross build --release --target ${{ matrix.target }} --manifest-path bindings_ffi/Cargo.toml --target-dir bindings_ffi/target
cross build --release --target ${{ matrix.target }} --features sqlcipher --manifest-path bindings_ffi/Cargo.toml --target-dir bindings_ffi/target
- name: Upload binary
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 041db01

Please sign in to comment.