Skip to content

Commit

Permalink
Install openssl with vendored flag to fix parts of our cross-compilat…
Browse files Browse the repository at this point in the history
…ion pipeline
  • Loading branch information
adzialocha committed Nov 17, 2023
1 parent c3c0b7b commit 485424a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ jobs:
os: macos-latest
- target: x86_64-apple-darwin # # 64-bit macOS (10.7+, Lion+)
os: macos-latest
- target: x86_64-pc-windows-gnu # 64-bit MinGW (Windows 7+)
os: windows-latest
- target: x86_64-pc-windows-msvc # 64-bit MSVC (Windows 7+)
os: windows-latest
# Windows builds are currently not working because of openssl
# cross-compilation issues.
# See related issue: https://github.com/p2panda/fishy/issues/12
# - target: x86_64-pc-windows-gnu # 64-bit MinGW (Windows 7+)
# os: windows-latest
# - target: x86_64-pc-windows-msvc # 64-bit MSVC (Windows 7+)
# os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 17 additions & 6 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ serde = { version = "1.0.174", features = ["derive"] }
tokio = { version = "1.29.1", features = ["macros", "rt"] }
toml = "0.7.6"
topological-sort = "0.2.2"

# `openssl` is required with `vendored` feature, to support cross-compilation
# (for example in our CI release pipeline)
# See related issue: https://github.com/p2panda/fishy/issues/12
[dependencies.openssl]
version = "0.10.59"
features = ["vendored"]

0 comments on commit 485424a

Please sign in to comment.