Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(py): reexport TermMatcher at toplevel #13

Merged
merged 29 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4759a93
fix(py): reexport TermMatcher at toplevel
cmdoret Sep 17, 2024
224d414
chore: bump to v0.2.0
cmdoret Sep 17, 2024
a62bf13
ci(deps): install libssl-dev on linux
cmdoret Sep 17, 2024
1a22887
ci(deps): install libssl-dev+pkg-config on linux
cmdoret Sep 17, 2024
89c1745
ci(deps): update apt repos
cmdoret Sep 17, 2024
475f10c
ci(deps): install deps in maturin container
cmdoret Sep 17, 2024
7647adc
ci(deps): drop incorrect libssl install
cmdoret Sep 17, 2024
a3b061a
chore(deps): use vendored tls feature via reqwest
cmdoret Sep 17, 2024
5d66c86
ci: pin manylinux version
cmdoret Sep 18, 2024
b438ad3
ci: restore manylinux auto version
cmdoret Sep 18, 2024
5f1af2c
chore(deps): reqwest native-tls -> rustls
cmdoret Sep 18, 2024
3692cde
ci: manually specify openssl dir
cmdoret Sep 18, 2024
6b00229
ci: explicit vendored openssl import
cmdoret Sep 18, 2024
bd2dad5
ci: temporarily disable linux binary dist
cmdoret Sep 18, 2024
eb9b518
ci: before-script openssl install
cmdoret Sep 20, 2024
ca3d136
ci: syntax
cmdoret Sep 20, 2024
4082d8f
ci: update perl for openssl build deps
cmdoret Sep 20, 2024
b14a021
ci: debug
cmdoret Sep 20, 2024
1b53927
ci: disable uncommon linux archs
cmdoret Sep 20, 2024
555efb2
ci: add missing perl-ipc-cmd module
cmdoret Sep 20, 2024
4102062
ci: force PERL5LIB
cmdoret Sep 20, 2024
d616581
ci: fix PERL5LIB
cmdoret Sep 20, 2024
757c5ea
ci: multiple paths in perl5lib
cmdoret Sep 20, 2024
3a3d88b
ci: PERL5LIB
cmdoret Sep 20, 2024
97c225d
ci: explicitely install perl-version
cmdoret Sep 20, 2024
77c0886
ci: rollback openssl
cmdoret Sep 20, 2024
2f816d7
ci: native openssl
cmdoret Sep 20, 2024
8a4e632
ci: re-add lock files + fix build
cmdoret Sep 20, 2024
458ed95
ci: downgrade openssl-src in lockfile
cmdoret Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 29 additions & 10 deletions .github/workflows/maturin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,45 @@ jobs:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
#- runner: ubuntu-latest
# target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
- runner: ubuntu-latest
target: s390x
- runner: ubuntu-latest
target: ppc64le
#- runner: ubuntu-latest
# target: s390x
#- runner: ubuntu-latest
# target: ppc64le
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: "3.11"
- name: Fix openssl regression
run: cargo update openssl-src --precise 300.3.1+3.3.1
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path pyfuzon/Cargo.toml
sccache: 'true'
manylinux: auto
#sccache: 'true'
args: --release --out dist --manifest-path pyfuzon/Cargo.toml
before-script-linux: |
# Source: https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145
# If we're running on rhel centos, install needed packages.
if command -v yum &> /dev/null; then
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic

# If we're running on i686 we need to symlink libatomic
# in order to build openssl with -latomic flag.
if [[ ! -d "/usr/lib64" ]]; then
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
fi
else
# If we're running on debian-based system.
apt update -y && apt-get install -y libssl-dev openssl pkg-config
fi
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -72,6 +89,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Instal OpenSSL
run: sudo apt-get update && sudo apt-get install libssl-dev openssl
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -130,7 +149,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, musllinux, macos, sdist]
needs: [musllinux, macos, sdist]
steps:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
Expand Down
91 changes: 50 additions & 41 deletions Cargo.lock

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

Loading
Loading