Skip to content

ci: add feeds package test builds on macOS native runner#119

Draft
BKPepe wants to merge 1 commit into
openwrt:mainfrom
BKPepe:macos-integration
Draft

ci: add feeds package test builds on macOS native runner#119
BKPepe wants to merge 1 commit into
openwrt:mainfrom
BKPepe:macos-integration

Conversation

@BKPepe

@BKPepe BKPepe commented Jun 15, 2026

Copy link
Copy Markdown
Member
  • Added a new reusable macOS feeds package test build workflow (feeds-package-test-build-macos.yml) and manual trigger workflow (manual-test-feeds-macos.yml).

  • Set up a static matrix to test both aarch64_generic (armsr-armv8) and arm_cortex-a9_vfpv3-d16 (mvebu-cortexa9) targets on macOS-26 runners.

  • Integrated host tool compilation, cache/S3 uploads

    • Step: Build tools and toolchain requires at least 40 minutes for the 1st run and as well once cleared

✅ Tested on Cloudflare R2 with configured secrets

image image

✅ Tested on GitHub Action cache

image

⚠️ Not tested on https://s3-ccache.openwrt-ci.ansuel.com by @Ansuel

  • Added a README.md documenting the workflow usage and S3-compatible configuration.

Helped by Gemini 3.5 Flash (High)
Fixes: openwrt/packages#17423

@BKPepe BKPepe requested a review from aparcar June 15, 2026 18:00
@github-actions

This comment has been minimized.

- Added a new reusable macOS feeds package test build workflow (feeds-package-test-build-macos.yml) and manual trigger workflow (manual-test-feeds-macos.yml).
- Set up a static matrix to test both aarch64_generic (armsr-armv8) and arm_cortex-a9_vfpv3-d16 (mvebu-cortexa9) targets on macOS-26 runners.
- Integrated host tool compilation, cache/S3 uploads, and custom awk overrides to support macOS quirks.
- Simplified S3 secrets passing across workflows using secrets inheritance.
- Added a README.md documenting the workflow usage and S3-compatible configuration.

Signed-off-by: Josef Schlehofer <[email protected]>
@BKPepe BKPepe force-pushed the macos-integration branch from 8aac353 to 89c5cbe Compare June 15, 2026 18:02
@github-actions

Copy link
Copy Markdown

Warning

Some formality checks failed.

Consider (re)reading submissions guidelines.

Failed checks

Issues marked with an ❌ are failing checks.

Commit 89c5cbe

  • 🔶 Commit body line 1 is longer than 100 characters (is 158):
    • Added a new reusable macOS feeds package test build workflow (feeds-package-test-build-macos.yml) and manual trigger workflow (manual-test-feeds-macos.yml).
  • 🔶 Commit body line 2 is longer than 100 characters (is 141):
    • Set up a static matrix to test both aarch64_generic (armsr-armv8) and arm_cortex-a9_vfpv3-d16 (mvebu-cortexa9) targets on macOS-26 runners.
  • 🔶 Commit body line 3 is longer than 100 characters (is 103):
    • Integrated host tool compilation, cache/S3 uploads, and custom awk overrides to support macOS quirks.

For more details, see the full job log.

Something broken? Consider providing feedback.

cd /Volumes/OpenWrt/build
echo "src-link packages_ci /Volumes/OpenWrt/feed" > feeds.conf
cat feeds.conf.default >> feeds.conf

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit

@aparcar

aparcar commented Jun 16, 2026

Copy link
Copy Markdown
Member

Uff, backflash 6 years ago... Anyway looks good to me. I'd give this a spin

@Ansuel

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.

[RFC] CI: Add test builds for macOS

2 participants