Skip to content

Commit

Permalink
actions clearing, update
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 committed Jan 2, 2023
1 parent 3de2ea7 commit dd0ebb0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 51 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build-cache-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,11 @@ jobs:
- name: Install cibuildwheel & twine
run: python3 -m pip install cibuildwheel twine

- name: manylinux preparations
if: matrix.cibw_buildlinux == 'manylinux'
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "git-all"

- name: musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux'
- name: 32-bit musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux' && matrix.cibw_arch == 'i686'
run: echo INSTALL_OS_PACKAGES="apk update && apk --no-cache add $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "sudo py3-pip python3-dev fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"

- uses: actions/cache@v3
with:
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/publish-pypi-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v -force ./pi-heif/* .
Expand Down Expand Up @@ -66,7 +65,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand Down Expand Up @@ -106,7 +104,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand All @@ -118,17 +115,11 @@ jobs:
with:
platforms: arm64

- name: manylinux preparations
if: matrix.cibw_buildlinux == 'manylinux'
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "git-all libjpeg-turbo-devel lcms2-devel libffi-devel"

- name: musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux'
run: echo INSTALL_OS_PACKAGES="apk update && apk --no-cache add $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "sudo py3-pip python3-dev fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"

- name: Run cibuildwheel
run: |
Expand Down Expand Up @@ -158,7 +149,7 @@ jobs:
matrix:
cibw_buildlinux: [ manylinux ]
cibw_arch: [ "aarch64", "i686", "x86_64" ]
cibw_build: [ "pp37", "pp38" ]
cibw_build: [ "pp38", "pp39" ]
name: ${{ matrix.cibw_buildlinux }} • ${{ matrix.cibw_arch }} • ${{ matrix.cibw_build }}
runs-on: ubuntu-20.04
env:
Expand All @@ -167,7 +158,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand All @@ -186,7 +176,7 @@ jobs:
env:
CIBW_BUILD: ${{ format('{0}-{1}_{2}', matrix.cibw_build , matrix.cibw_buildlinux, matrix.cibw_arch) }}
CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y git-all libjpeg-turbo-devel lcms2-devel libffi-devel"
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y libjpeg-turbo-devel lcms2-devel"
CIBW_ENVIRONMENT_LINUX: BUILD_DIR_PREFIX=/host${{ env.BUILD_DIR_PREFIX }} PH_LIGHT_ACTION=1

- name: Checking built wheels
Expand All @@ -213,7 +203,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand Down Expand Up @@ -250,7 +239,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand Down Expand Up @@ -285,7 +273,7 @@ jobs:

- name: Test sdist
run: |
export PH_LIGHT_ACTION=1
export PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
python3 -m pytest -rs
- name: Upload sdist
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down Expand Up @@ -51,7 +50,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: msys2/setup-msys2@v2
with:
location: C:/temp
Expand Down Expand Up @@ -138,17 +136,11 @@ jobs:
with:
platforms: arm64

- name: manylinux preparations
if: matrix.cibw_buildlinux == 'manylinux'
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "git-all libjpeg-turbo-devel lcms2-devel libffi-devel"

- name: musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux'
run: echo INSTALL_OS_PACKAGES="apk update && apk --no-cache add $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "sudo py3-pip python3-dev fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"

- name: Only minimal testing on aarch64
if: matrix.cibw_arch == 'aarch64'
Expand Down Expand Up @@ -207,17 +199,11 @@ jobs:
with:
platforms: arm64

- name: manylinux preparations
if: matrix.cibw_buildlinux == 'manylinux'
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "git-all libjpeg-turbo-devel lcms2-devel libffi-devel"

- name: musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux'
run: echo INSTALL_OS_PACKAGES="apk update && apk --no-cache add $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "sudo py3-pip python3-dev fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"

- name: Only minimal testing on aarch64
if: matrix.cibw_arch == 'aarch64'
Expand Down Expand Up @@ -262,7 +248,7 @@ jobs:
matrix:
cibw_buildlinux: [ manylinux ]
cibw_arch: [ "aarch64", "x86_64" ]
cibw_build: [ "pp37", "pp38" ]
cibw_build: [ "pp38", "pp39" ]
name: ${{ matrix.cibw_buildlinux }} • ${{ matrix.cibw_arch }} • ${{ matrix.cibw_build }}
runs-on: ubuntu-20.04
env:
Expand Down Expand Up @@ -296,7 +282,7 @@ jobs:
env:
CIBW_BUILD: ${{ format('{0}-{1}_{2}', matrix.cibw_build , matrix.cibw_buildlinux, matrix.cibw_arch) }}
CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y git-all libjpeg-turbo-devel lcms2-devel libffi-devel"
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y libjpeg-turbo-devel lcms2-devel"
CIBW_ENVIRONMENT_LINUX: BUILD_DIR_PREFIX=/host${{ env.BUILD_DIR_PREFIX }} PH_FULL_ACTION=1

- name: Checking built wheels
Expand All @@ -320,7 +306,7 @@ jobs:
matrix:
cibw_buildlinux: [ manylinux ]
cibw_arch: [ "i686" ]
cibw_build: [ "pp37", "pp38" ]
cibw_build: [ "pp38", "pp39" ]
name: ${{ matrix.cibw_buildlinux }} • ${{ matrix.cibw_arch }} • ${{ matrix.cibw_build }}
runs-on: ubuntu-20.04
env:
Expand Down Expand Up @@ -354,7 +340,6 @@ jobs:
env:
CIBW_BUILD: ${{ format('{0}-{1}_{2}', matrix.cibw_build , matrix.cibw_buildlinux, matrix.cibw_arch) }}
CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y git-all libjpeg-turbo-devel lcms2-devel libffi-devel"
CIBW_ENVIRONMENT_LINUX: BUILD_DIR_PREFIX=/host${{ env.BUILD_DIR_PREFIX }} PH_LIGHT_ACTION=1

- name: Checking built wheels
Expand All @@ -378,7 +363,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down Expand Up @@ -409,7 +393,7 @@ jobs:

- name: Test sdist
run: |
export PH_FULL_ACTION=1
export PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
python3 -m pytest -rs
- name: Upload sdist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
runs-on: macos-11
strategy:
matrix:
python-version: ["pypy-3.7", "pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- name: Delay, waiting Pypi to update.
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["pypy-3.7", "pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- name: Delay, waiting Pypi to update.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
runs-on: macos-11
strategy:
matrix:
python-version: ["pypy-3.7", "pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- name: Delay, waiting Pypi to update.
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["pypy-3.7", "pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- name: Delay, waiting Pypi to update.
Expand Down

0 comments on commit dd0ebb0

Please sign in to comment.