Skip to content

Commit

Permalink
exclude python 3.6 and include 3.11 in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
svirpioj committed Oct 11, 2023
1 parent 4581568 commit ac88b0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-github.yaml
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build and upload packages
run: |
eval "$(conda shell.bash hook)"
for VERSION in 3.6 3.7 3.8 3.9 3.10; do
for VERSION in 3.7 3.8 3.9 3.10 3.11; do
conda create -n py$VERSION python=$VERSION
conda activate py$VERSION
STATIC_LIBS=1 python setup.py build_ext bdist_wheel
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Build package and upload from docker
run: |
docker run --rm -v "${PWD}:/opt/fast-mosestokenizer" \
ubuntu:16.04 /bin/bash /opt/fast-mosestokenizer/build-release-linux.sh
ubuntu:22.04 /bin/bash /opt/fast-mosestokenizer/build-release-linux.sh
- uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions build-release-linux.sh
Expand Up @@ -22,14 +22,14 @@ export PATH=$HOME/miniconda3/bin:$PATH
eval "$(conda shell.bash hook)"

# Build dependencies as static libraries
conda create -n meson -y python=3.6
conda create -n meson -y python=3.7
conda activate meson
conda install -y meson
make download-build-static-deps
conda deactivate

# Build and upload packages
for VERSION in 3.6 3.7 3.8 3.9 3.10; do
for VERSION in 3.7 3.8 3.9 3.10 3.11; do
conda create -n py$VERSION -y python=$VERSION
conda activate py$VERSION
STATIC_LIBS=1 python setup.py build_ext bdist_wheel \
Expand Down

0 comments on commit ac88b0f

Please sign in to comment.