Skip to content

Commit 62abb01

Browse files
committed
hotfix workflow
1 parent 0bb34ed commit 62abb01

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/python-package.yml‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
"windows-latest"
1515
]
1616
python-version: [
17+
#"3.10", not yet available on ubuntu
1718
"3.9",
1819
"3.8",
1920
"3.7",
20-
"3.6",
21+
#"3.6" not available anymore on macOS
2122
]
2223
architecture: ["x86", "x64"]
2324

@@ -26,7 +27,7 @@ jobs:
2627
runs-on: ${{ matrix.os }}
2728
name: ${{ matrix.os }} ${{ matrix.architecture }} - ${{ matrix.python-version }}
2829
env:
29-
DEPENDENCIES: lz4 brotli Pillow texture2ddecoder tabulate
30+
DEPENDENCIES: lz4 brotli Pillow texture2ddecoder tabulate etcpak
3031

3132
steps:
3233
- uses: actions/checkout@v2
@@ -55,16 +56,17 @@ jobs:
5556
run: |
5657
python setup.py sdist bdist_wheel
5758
58-
- name: Build manylinux Python wheels
59-
if: success() && runner.os == 'Linux' && github.event_name == 'push'
60-
uses: RalfG/python-wheels-manylinux-build@v0.3.4-manylinux2010_x86_64
61-
with:
62-
python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39'
63-
system-packages: 'jpeg-devel zlib-devel'
64-
build-requirements: ${{ env.DEPENDENCIES }}
59+
# TODO - fix missing PIL components
60+
# - name: Build manylinux Python wheels
61+
# if: success() && runner.os == 'Linux' && github.event_name == 'push'
62+
# uses: RalfG/python-wheels-manylinux-build@v0.3.4-manylinux2010_x86_64
63+
# with:
64+
# python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39'
65+
# system-packages: 'jpeg-devel zlib-devel'
66+
# build-requirements: ${{ env.DEPENDENCIES }}
6567

6668
- name: Publish wheels to PyPI
67-
if: success() && github.event_name == 'push' && env.TWINE_PASSWORD != ''
69+
if: success() && github.event_name == 'push' && env.TWINE_PASSWORD != '' && runner.os != 'Linux' # TODO - remove != Linux once manylinux is fixed
6870
env:
6971
TWINE_USERNAME: __token__
7072
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)