diff --git a/.github/workflows/release-github.yaml b/.github/workflows/release-github.yaml index 7c82ace..f5625b7 100644 --- a/.github/workflows/release-github.yaml +++ b/.github/workflows/release-github.yaml @@ -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 @@ -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: diff --git a/build-release-linux.sh b/build-release-linux.sh index 81f1cc2..960ab8d 100644 --- a/build-release-linux.sh +++ b/build-release-linux.sh @@ -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 \