Skip to content

Register macOS runner on forgejo (macos-latest) #41

Description

@ulises-c

The Forgejo instance at ollie-server needs a macOS runner for SwiftUI build & test CI.

Why: swift build and swift test require Apple frameworks (SwiftUI) and cannot run on Linux. Only lint/format/spellcheck can run on the Linux runner.

Steps:

  • Install forgejo-runner on a Mac
  • forgejo-runner generate-config > ~/forgejo-runner/config.yml
  • Get registration token from Forgejo → Settings → Actions → Runners
  • forgejo-runner register --instance <SERVER-URL> --token <TOKEN> --name <NAME> --labels macos-latest
  • Register as a LaunchAgent or run forgejo-runner daemon

Prerequisites: Xcode (or Command Line Tools), Homebrew

Note: Can be your personal Mac — keep the daemon running for CI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions