Skip to content

Commit

Permalink
dont build for py3.8
Browse files Browse the repository at this point in the history
Signed-off-by: Mimoja <[email protected]>
  • Loading branch information
Mimoja committed Jul 6, 2024
1 parent 4c191d4 commit 9fb12a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
echo set-output name=CARGO_USE_CROSS::${CARGO_USE_CROSS:-<empty>/false}
echo ::set-output name=CARGO_USE_CROSS::${CARGO_USE_CROSS}
# * strip executable?
STRIP="strip" ; case ${{ matrix.job.target }} in arm-unknown-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;; *-pc-windows-msvc) STRIP="" ;; esac;
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;
echo set-output name=STRIP::${STRIP}
echo ::set-output name=STRIP::${STRIP}
- name: Create all needed build/work directories
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ jobs:
matrix:
os: [ubuntu-latest]
cibw_arch: ["x86_64", "aarch64"]
cibw_python: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
env:
CIBW_BEFORE_ALL_LINUX: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y"
CIBW_BUILD_VERBOSITY: "1"
CIBW_SKIP: cp39-musllinux_i686 cp310-musllinux_i686 cp311-musllinux_i686 cp312-musllinux_i686 # Can't install Rust on musl based Linux systems
CIBW_ENVIRONMENT: 'PATH="$PATH:$HOME/.cargo/bin"'

steps:
Expand All @@ -40,7 +38,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: wheel-${{ runner.os }}
name: dist
path: ./python/wheelhouse/*.whl

build_sdist:
Expand Down Expand Up @@ -68,19 +66,21 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: sdist-${{ runner.os }}
path: dist/*.tar.*
name: dist
path: python/dist/*.tar.*

release:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: dist
path: dist/
path: python/dist/

- uses: pypa/[email protected]
with:
repository-url: https://pypi.org/project/sqlite-zstd-build
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: python/dist/*

0 comments on commit 9fb12a6

Please sign in to comment.