Skip to content

Commit 3b35ac1

Browse files
authored
fix: cross compiling env (#38)
## What type of PR is this? - [ ] feat (new feature) - [ ] fix (bug fix) - [ ] docs (documentation) - [ ] style (formatting, no code change) - [ ] refactor (code change that neither fixes a bug nor adds a feature) - [ ] perf (performance improvement) - [ ] test (adding or updating tests) - [x] chore (maintenance, tooling) - [ ] build / ci (build or CI changes) ## Which issue(s) this PR fixes Fixes # ## What this PR does / why we need it fix openssl
1 parent 32fae53 commit 3b35ac1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
working-directory: memoria
6868
env:
6969
SQLX_OFFLINE: "true"
70+
# Cross image has libssl-dev 1.0.2 (Xenial); openssl-sys requires 1.1+ or 3.x. Force vendored.
71+
OPENSSL_NO_PKG_CONFIG: "1"
7072
run: cross build --release -p memoria-cli --target ${{ matrix.target }}
7173

7274
- name: Build (native)

0 commit comments

Comments
 (0)