Skip to content

Commit

Permalink
Fixing Errors in Linux Build (#105)
Browse files Browse the repository at this point in the history
* testing

* testing

* manylinux

* manual ring override

* openssl override

* one final test

* removing x86 test

* ssl

* no sudo?

* wup

* conditional deps

* conditional arch

* container

* syntax

* preinstall

* removed conditional

* made build conditional again
  • Loading branch information
soldni committed Feb 1, 2024
1 parent 2daae12 commit a74b78a
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 70 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
if: steps.cache-venv.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install --yes --upgrade build-essential cmake protobuf-compiler libssl-dev glibc-source
sudo apt-get install --yes --upgrade build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools
- name: Install Rust toolchain
if: steps.cache-venv.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -150,7 +150,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86, aarch64, armv7]
# fails to build on x86, so removing for now; low use anyway.
# target: [x86_64, x86, aarch64, armv7]
target: [x86_64, aarch64, armv7]
name: "Build Linux (${{ matrix.target }})"
steps:
- uses: actions/checkout@v3
Expand All @@ -167,7 +169,11 @@ jobs:
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
manylinux: auto
manylinux: manylinux_2_28
container: "ghcr.io/rust-cross/manylinux_2_28-cross:${{ matrix.target }}"
before-script-linux: |
sudo apt-get update
sudo apt-get install --yes --upgrade build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit a74b78a

Please sign in to comment.