Skip to content

Fix issues with CI#3443

Merged
mattleibow merged 2 commits intomainfrom
dev/fix-ci
Jan 21, 2026
Merged

Fix issues with CI#3443
mattleibow merged 2 commits intomainfrom
dev/fix-ci

Conversation

@mattleibow
Copy link
Collaborator

This pull request updates the Docker build scripts and related CI configuration to improve cross-platform builds, standardize architecture selection, and enhance support for additional architectures like LoongArch. The main changes involve switching from the deprecated IMAGE_ARCH mechanism to the modern --platform Docker flag, updating architecture-specific build arguments, and refining package selection for certain platforms.

Docker platform and architecture handling:

  • Replaced the use of the IMAGE_ARCH variable and ${IMAGE_ARCH}/debian image references in all relevant Dockerfiles with the --platform flag and standard base images (e.g., FROM debian:12), aligning with best practices for multi-architecture Docker builds. [1] [2] [3] [4] [5]
  • Updated the scripts/Docker/_clang-cross-common.sh script to set the Docker PLATFORM variable based on the detected machine architecture and to use --platform when building images, removing the obsolete IMAGE_ARCH argument. [1] [2]

Architecture-specific build improvements:

  • Added support for passing extra build arguments (e.g., --verifyGlibcMax=2.38) for specific architectures like loongarch64 in the Docker build script, ensuring compatibility with CI configuration. [1] [2]
  • Updated the LoongArch-specific fontconfig package installation in the Debian 13 cross-compile Dockerfile to use the standard Debian repository and the latest compatible package version.

CI pipeline updates:

  • Modified Azure pipeline templates to explicitly use the --platform linux/amd64 flag in Docker build arguments, ensuring consistent architecture targeting in CI builds. [1] [2]

@mattleibow mattleibow merged commit 2807dab into main Jan 21, 2026
2 checks passed
@mattleibow mattleibow deleted the dev/fix-ci branch January 21, 2026 03:18
@github-actions
Copy link

Triage Summary

Labels will be applied to indicate the affected areas (Build, Compatibility) and the specific operating system (Linux) involved in the issue regarding Docker build scripts and CI configuration.

This issue does not appear to be a regression but rather an enhancement regarding compatibility and build processes.

Additional remarks:

  • The issue is focused on CI and Docker build improvements, but relevant labels related to the backend are not applicable.
Detailed Summary and Actions

Summary of the triage:

  • The issue relates to updates in Docker build scripts and CI configuration.
  • The enhancements aim to improve cross-platform compatibility, specifically for Linux.
  • The main areas of focus are related to the build process and cross-architecture support.

Summary of the actions that will be performed:

Action Item Description
Apply Label area/Build The issue involves updates to Docker build scripts and CI configuration, which relates to the build process.
Apply Label tenet/compatibility The issue involves updates to CI configuration that enhance cross-platform builds and architectural compatibility.
Apply Label os/Linux The issue is focused on Docker build scripts and CI configurations that specifically target Linux architecture.

This entire triage process was automated by AI and mistakes may have been made. Please let us know so we can continue to improve.

@github-actions github-actions bot added area/Build os/Linux tenet/compatibility Compatibility with previous versions of SkiaSharp labels Jan 21, 2026
@mattleibow mattleibow added the copilot Created by GitHub Copilot label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/Build copilot Created by GitHub Copilot os/Linux tenet/compatibility Compatibility with previous versions of SkiaSharp

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant