Gitea Actions CI/CD Pipeline for Intel macOS Builds #25
Notifications
Due Date
No due date set.
Depends on
Reference: gronod/MacMonitor#25
Reference in New Issue
Block a user
Purpose
Automate the continuous integration and delivery lifecycle for MacMonitor using Gitea Actions runners, ensuring every commit and pull request compiles cleanly against macOS 14+ SDK for Intel x86_64 and passes automated test suites.
Priority
High (Guarantees build integrity, Intel x86_64 architecture verification, and regression prevention)
Dependencies
Scope
.gitea/workflows/build.yml.x86_64.app/.zipartifact upload) on tagged releasesImplementation Suggestions
runs-on: [macos, intel]or matching Gitea runner tags.xcodebuild build test -scheme MacMonitor -destination 'generic/platform=macOS,arch=x86_64' CODE_SIGNING_ALLOWED=NO.appbundles to Gitea release builds.Technical Implementation Plan & Code Solution
1. Gitea Actions Architecture
The continuous integration pipeline automates building and verifying MacMonitor on self-hosted or managed macOS Intel runners.
2. Workflow Specification (
.gitea/workflows/build.yml)3. Verification & Mocking in Unit Tests
Unit tests in CI test provider decoding logic against synthetic SMC and Mach structures (e.g. mock
sp78bytes, simulatedvm_statistics64) ensuring tests execute reliably on runners without requiring physical AppleSMC hardware.Implementation Completed (Milestone 1)
The Gitea Actions CI/CD Pipeline for Intel macOS Builds has been implemented in commit
ad2695aon branchfeat/25-gitea-ciand merged intomilestone/m1-foundation(commitf034771).Delivered Components:
.gitea/workflows/build.yml): Targeting[macos, intel]runners.pushandpull_requestevents acrossmain,develop,milestone/**, andfeat/**branches.uname -m,sw_vers,xcodebuild -version,xcrun --show-sdk-path).xcodegen generatewith tracked.xcodeprojfallback.generic/platform=macOS,arch=x86_64withCODE_SIGNING_ALLOWED=NO.xcbeautify.