Skip to content

bumped cibuildwheel to latest 2.21.3 version #288

bumped cibuildwheel to latest 2.21.3 version

bumped cibuildwheel to latest 2.21.3 version #288

name: From source(Linux)
on:
workflow_dispatch:
workflow_call:
pull_request:
paths:
- '.github/workflows/test-src-build-linux.yml'
- 'docker/from_src/*.Dockerfile'
- 'libheif/linux/**'
- 'libheif/linux_*.py'
- 'setup.*'
- 'pyproject.toml'
- 'pillow_heif/_pillow_heif.c'
push:
branches: [master]
paths:
- '.github/workflows/test-src-build-linux.yml'
- 'docker/from_src/*.Dockerfile'
- 'libheif/linux/**'
- 'libheif/linux_*.py'
- 'setup.*'
- 'pyproject.toml'
- 'pillow_heif/_pillow_heif.c'
concurrency:
group: src_linux-${{ github.ref }}
cancel-in-progress: true
jobs:
full_linux:
name: ${{ matrix.docker_file }}-${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: ["amd64", "arm64"]
docker_file: ["Alpine_3_19", "Alpine_3_20", "Almalinux_9", "Debian_12"]
include:
- arch: "amd64"
docker_file: "Archlinux"
- arch: "amd64"
docker_file: "Fedora_39"
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Requirements
uses: docker/build-push-action@v6
with:
context: .
file: docker/from_src/${{ matrix.docker_file }}.Dockerfile
platforms: linux/${{ matrix.arch }}
push: false
cache-from: type=gha,scope=${{ matrix.docker_file }}-${{ matrix.arch }}
cache-to: type=gha,mode=min,scope=${{ matrix.docker_file }}-${{ matrix.arch }}
target: base
- name: Build & Test Pillow-Heif
uses: docker/build-push-action@v6
with:
context: .
file: docker/from_src/${{ matrix.docker_file }}.Dockerfile
platforms: linux/${{ matrix.arch }}
push: false
cache-from: type=gha,scope=${{ matrix.docker_file }}-${{ matrix.arch }}
target: build_test