Skip to content

Commit

Permalink
build: Lower glibc version requirements (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 authored Feb 20, 2025
1 parent a5661d9 commit e2b3107
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is autogenerated by maturin v1.7.8
# This file is autogenerated by maturin v1.8.2
# To update, run
#
# maturin generate-ci github
Expand Down Expand Up @@ -58,33 +58,31 @@ jobs:
run: |
source .venv/bin/activate
pytest
manylinux:
runs-on: ${{ matrix.platform.runner }}
strategy:
fail-fast: false
matrix:
platform:
- runner: ubuntu-22.04
- runner: ubuntu-20.04
target: x86_64
apt_packages: ''
custom_env: {}
- runner: ubuntu-22.04
- runner: ubuntu-20.04
target: x86
apt_packages: crossbuild-essential-i386
custom_env:
CC: i686-linux-gnu-gcc
CXX: i686-linux-gnu-g++
CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER: i686-linux-gnu-g++
- runner: ubuntu-22.04
- runner: ubuntu-20.04
target: aarch64
apt_packages: crossbuild-essential-arm64
custom_env:
CFLAGS_aarch64_unknown_linux_gnu: -D__ARM_ARCH=8
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-g++
- runner: ubuntu-22.04
- runner: ubuntu-20.04
target: armv7
apt_packages: crossbuild-essential-armhf
custom_env:
Expand All @@ -96,6 +94,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "13.0"
- name: Install target-specific APT dependencies
if: "matrix.platform.apt_packages != ''"
run: sudo apt-get update && sudo apt-get install -y ${{ matrix.platform.apt_packages }}
Expand Down Expand Up @@ -250,4 +252,4 @@ jobs:
with:
token: ${{ secrets.CR_PAT }}
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
generate_release_notes: true
generate_release_notes: true

0 comments on commit e2b3107

Please sign in to comment.