Pillow/.github/workflows/wheels-linux.yml

70 lines
1.7 KiB
YAML
Raw Normal View History

2022-03-30 10:33:30 +03:00
name: Build Linux wheels
2022-02-21 16:41:52 +03:00
on:
workflow_call:
inputs:
artifacts-name:
required: true
type: string
env:
CONFIG_PATH: "wheels/config.sh"
REPO_DIR: "."
2022-03-19 15:05:56 +03:00
TEST_DEPENDS: "pytest pytest-timeout"
2022-02-21 16:41:52 +03:00
jobs:
build:
2023-06-23 16:12:29 +03:00
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }}${{ matrix.mb-ml-ver }}
2023-05-12 09:15:31 +03:00
runs-on: "ubuntu-latest"
2022-02-21 16:41:52 +03:00
strategy:
fail-fast: false
matrix:
2022-12-06 22:00:22 +03:00
python: [
2023-10-02 23:59:32 +03:00
"pypy3.9-7.3.13",
"pypy3.10-7.3.13",
2022-12-06 22:00:22 +03:00
"3.8",
"3.9",
"3.10",
"3.11",
2023-05-31 10:41:41 +03:00
"3.12",
2022-12-06 22:00:22 +03:00
]
2022-03-30 03:36:47 +03:00
mb-ml-libc: [ "manylinux" ]
2022-05-31 03:12:20 +03:00
mb-ml-ver: [ 2014, "_2_28" ]
2022-02-21 16:41:52 +03:00
include:
2022-03-30 03:36:47 +03:00
- python: "3.8"
mb-ml-libc: "musllinux"
2022-05-31 03:12:20 +03:00
mb-ml-ver: "_1_1"
2022-03-30 03:36:47 +03:00
- python: "3.9"
mb-ml-libc: "musllinux"
2022-05-31 03:12:20 +03:00
mb-ml-ver: "_1_1"
2022-03-30 03:36:47 +03:00
- python: "3.10"
mb-ml-libc: "musllinux"
2022-05-31 03:12:20 +03:00
mb-ml-ver: "_1_1"
2022-06-26 08:33:09 +03:00
- python: "3.11"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
2023-05-31 10:41:41 +03:00
- python: "3.12"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
2022-02-21 16:41:52 +03:00
env:
MB_PYTHON_VERSION: ${{ matrix.python }}
2022-03-30 03:36:47 +03:00
MB_ML_LIBC: ${{ matrix.mb-ml-libc }}
2022-05-31 03:12:20 +03:00
MB_ML_VER: ${{ matrix.mb-ml-ver }}
2022-02-21 16:41:52 +03:00
steps:
2023-09-04 17:41:55 +03:00
- uses: actions/checkout@v4
2022-02-21 16:41:52 +03:00
with:
submodules: true
2022-09-20 01:13:22 +03:00
- uses: actions/setup-python@v4
2022-02-21 16:41:52 +03:00
with:
2022-11-18 11:29:54 +03:00
python-version: "3.x"
2022-02-21 16:41:52 +03:00
- name: Build Wheel
run: .github/workflows/wheels-build.sh
2022-03-04 12:57:39 +03:00
- uses: actions/upload-artifact@v3
2022-02-21 16:41:52 +03:00
with:
name: ${{ inputs.artifacts-name }}
path: wheelhouse/*.whl
# Uncomment to get SSH access for testing
# - name: Setup tmate session
# if: failure()
# uses: mxschmitt/action-tmate@v3