Skip to content

Commit 9fb12a6

Browse files
committed
dont build for py3.8
Signed-off-by: Mimoja <git@mimoja.de>
1 parent 4c191d4 commit 9fb12a6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
echo set-output name=CARGO_USE_CROSS::${CARGO_USE_CROSS:-<empty>/false}
167167
echo ::set-output name=CARGO_USE_CROSS::${CARGO_USE_CROSS}
168168
# * strip executable?
169-
STRIP="strip" ; case ${{ matrix.job.target }} in arm-unknown-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;; *-pc-windows-msvc) STRIP="" ;; esac;
169+
STRIP="strip" ; case ${{ matrix.job.target }} in arm-unknown-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;; *-pc-windows-msvc) STRIP="" ;; *-apple-darwin) STRIP="strip -sX" ;; esac;
170170
echo set-output name=STRIP::${STRIP}
171171
echo ::set-output name=STRIP::${STRIP}
172172
- name: Create all needed build/work directories

.github/workflows/pypi_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ jobs:
1111
matrix:
1212
os: [ubuntu-latest]
1313
cibw_arch: ["x86_64", "aarch64"]
14-
cibw_python: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
1514
env:
1615
CIBW_BEFORE_ALL_LINUX: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y"
1716
CIBW_BUILD_VERBOSITY: "1"
18-
CIBW_SKIP: cp39-musllinux_i686 cp310-musllinux_i686 cp311-musllinux_i686 cp312-musllinux_i686 # Can't install Rust on musl based Linux systems
1917
CIBW_ENVIRONMENT: 'PATH="$PATH:$HOME/.cargo/bin"'
2018

2119
steps:
@@ -40,7 +38,7 @@ jobs:
4038

4139
- uses: actions/upload-artifact@v3
4240
with:
43-
name: wheel-${{ runner.os }}
41+
name: dist
4442
path: ./python/wheelhouse/*.whl
4543

4644
build_sdist:
@@ -68,19 +66,21 @@ jobs:
6866
6967
- uses: actions/upload-artifact@v2
7068
with:
71-
name: sdist-${{ runner.os }}
72-
path: dist/*.tar.*
69+
name: dist
70+
path: python/dist/*.tar.*
7371

7472
release:
7573
needs: [build_wheels, build_sdist]
7674
runs-on: ubuntu-latest
7775
steps:
78-
- uses: actions/download-artifact@v2
76+
- uses: actions/download-artifact@v3
7977
with:
8078
name: dist
81-
path: dist/
79+
path: python/dist/
8280

8381
- uses: pypa/gh-action-pypi-publish@v1.8.10
8482
with:
83+
repository-url: https://pypi.org/project/sqlite-zstd-build
8584
user: __token__
8685
password: ${{ secrets.PYPI_API_TOKEN }}
86+
packages-dir: python/dist/*

0 commit comments

Comments
 (0)