Skip to content

ci use apt qemu#5998

Merged
nihui merged 2 commits into
Tencent:masterfrom
nihui:ci-qemu-update
Apr 17, 2025
Merged

ci use apt qemu#5998
nihui merged 2 commits into
Tencent:masterfrom
nihui:ci-qemu-update

Conversation

@nihui
Copy link
Copy Markdown
Member

@nihui nihui commented Apr 17, 2025

No description provided.

@nihui nihui requested a review from Copilot April 17, 2025 03:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CI workflow configuration files to use the apt-based installation of qemu and standardizes various job steps for multiple architectures. Key changes include:

  • Renaming job identifiers (e.g. from "gcc-ppc" to "ppc", "gcc-mips64el" to "mips64el", etc.) and updating build/test step commands to use multi-line script blocks.
  • Installing qemu-user-static in addition to the appropriate cross-compilers across workflows.
  • Updating test command executables from their dynamic versions to the “-static” versions.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/linux-ppc64.yml Renamed jobs and updated build/test steps with a multiline script.
.github/workflows/linux-mips64.yml Renamed job, added qemu-user-static installation, and updated commands.
.github/workflows/linux-mips.yml Renamed jobs, installed qemu-user-static, and updated test commands.
.github/workflows/linux-arm.yml Renamed jobs and updated toolchain installation and test steps.
.github/workflows/linux-aarch64.yml Updated job names and added several test steps with CPU-specific options.
Comments suppressed due to low confidence (2)

.github/workflows/linux-ppc64.yml:32

  • [nitpick] Consider using a consistent naming convention for job identifiers across CI workflows; for example, using the 'gcc-ppc' prefix might better indicate the compiler context.
ppc:

.github/workflows/linux-aarch64.yml:32

  • [nitpick] Standardize the job names for aarch64 workflows (e.g., choosing between 'aarch64-native' and 'aarch64') to maintain clarity and consistency across architectures.
aarch64-native:

@github-actions
Copy link
Copy Markdown

The binary size change of libncnn.so (bytes)

architecture base size pr size difference
x86_64 16456672 16456672 0 😘
armhf 7330908 7330908 0 😘
aarch64 10703704 10703704 0 😘

@nihui nihui merged commit 1ab14fe into Tencent:master Apr 17, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants