Skip to content

Commit

Permalink
remove musl build
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang committed Nov 2, 2024
1 parent 02e4d5c commit 547a71f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 170 deletions.
86 changes: 0 additions & 86 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,48 +194,6 @@ jobs:
name: wheels-manylinux2014-${{ matrix.target }}
path: dist

musllinux_1_2_x86_64:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
- name: Build Wheels
uses: messense/maturin-action@v1
with:
rust-toolchain: 1.82.0
rustup-components: rustfmt
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --out dist --interpreter '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10'
container: congyuwang/musllinux_1_2_x86_64:llvm-19.1.3
env:
LIBCLANG_PATH: /usr/local/lib
CC: /usr/local/bin/clang
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
pip install rocksdict --no-index --find-links dist --force-reinstall || true
pip install speedict --no-index --find-links dist --force-reinstall || true
python -m unittest discover -v test
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux_1_2-${{ matrix.target }}
path: dist

manylinux_2_28_arm64:
runs-on: linux-arm64
strategy:
Expand Down Expand Up @@ -320,48 +278,6 @@ jobs:
name: wheels-manylinux2014-${{ matrix.target }}
path: dist

musllinux_1_2_arm64:
runs-on: linux-arm64
strategy:
fail-fast: false
matrix:
target: [aarch64]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: arm64
- name: Build Wheels
uses: messense/maturin-action@v1
with:
rust-toolchain: 1.82.0
rustup-components: rustfmt
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --out dist --interpreter '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10'
container: congyuwang/musllinux_1_2_aarch64:llvm-19.1.3
env:
LIBCLANG_PATH: /usr/local/lib
CC: /usr/local/bin/clang
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
pip install rocksdict --no-index --find-links dist --force-reinstall || true
pip install speedict --no-index --find-links dist --force-reinstall || true
python -m unittest discover -v test
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux_1_2-${{ matrix.target }}
path: dist

release:
name: Release
runs-on: ubuntu-latest
Expand All @@ -371,10 +287,8 @@ jobs:
macos,
manylinux_2_28_x86_64,
manylinux2014_x86_64,
musllinux_1_2_x86_64,
manylinux_2_28_arm64,
manylinux2014_arm64,
musllinux_1_2_arm64,
]
steps:
- uses: actions/download-artifact@v4
Expand Down
84 changes: 0 additions & 84 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,48 +194,6 @@ jobs:
name: wheels-manylinux2014-${{ matrix.target }}
path: dist

musllinux_1_2_x86_64:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
- name: Build Wheels
uses: messense/maturin-action@v1
with:
rust-toolchain: 1.82.0
rustup-components: rustfmt
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --out dist --interpreter '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10'
container: congyuwang/musllinux_1_2_x86_64:llvm-19.1.3
env:
LIBCLANG_PATH: /usr/local/lib
CC: /usr/local/bin/clang
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
pip install rocksdict --no-index --find-links dist --force-reinstall || true
pip install speedict --no-index --find-links dist --force-reinstall || true
python -m unittest discover -v test
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux_1_2-${{ matrix.target }}
path: dist

manylinux_2_28_arm64:
runs-on: linux-arm64
strategy:
Expand Down Expand Up @@ -319,45 +277,3 @@ jobs:
with:
name: wheels-manylinux2014-${{ matrix.target }}
path: dist

musllinux_1_2_arm64:
runs-on: linux-arm64
strategy:
fail-fast: false
matrix:
target: [aarch64]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: arm64
- name: Build Wheels
uses: messense/maturin-action@v1
with:
rust-toolchain: 1.82.0
rustup-components: rustfmt
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --out dist --interpreter '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10'
container: congyuwang/musllinux_1_2_aarch64:llvm-19.1.3
env:
LIBCLANG_PATH: /usr/local/lib
CC: /usr/local/bin/clang
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
pip install rocksdict --no-index --find-links dist --force-reinstall || true
pip install speedict --no-index --find-links dist --force-reinstall || true
python -m unittest discover -v test
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux_1_2-${{ matrix.target }}
path: dist

0 comments on commit 547a71f

Please sign in to comment.