Repository navigation
ci: build the macOS head and publish an unsigned macOS nightly - #245
Merged
Merged
Conversation
- New ci-macos.yml: build-macos job on macos-latest (arm64) building the macOS desktop head in Release, plus the macOS-specific test classes of Files.Platform.Tests (the rest of the suite is Linux-only at runtime). - nightly-linux.yml: second build job publishes an unsigned, not notarized LinuxFiles-nightly-macos-arm64.zip to the rolling nightly release, with a SHA256SUMS asset covering all nightly assets and a workflow_dispatch dry_run input that replaces a throwaway nightly-dryrun release instead. - New scripts/macos/publish.sh + packaging/macos/Info.plist assemble the .app bundle; docs/linux-port/packaging.md documents the experimental, unsigned macOS target.
The publish step listed SHA256SUMS as an asset but no step created it (the checksum step from package-linux.yml was not carried over), so the dry-run publish failed with a missing file. Generate it from the three downloaded assets first.
Owner
Author
|
Dry-run validation of the nightly publish path (workflow_dispatch with
First dry run (#47581331696) failed in the publish step because no step generated One thing CI cannot verify without a Mac: opening the zipped |
macOS is experimental. A failed or cancelled macOS build now only drops the macOS zip from the nightly, with a note in the release text, instead of blocking the Linux assets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 of 43 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds macOS to CI and to the nightly, one PR, the Linux workflows untouched.
What is in here
.github/workflows/ci-macos.yml, new file) — abuild-macosjob onmacos-latest(arm64) onmainpushes and PRs targetingmain. It buildsFiles.Platform.MacOSand the macOS desktop head (dotnet build src/Files.App -f net10.0-desktop -c Release -p:FilesDesktopOS=macOS) with the same NuGet-caching style as the Linux job. There is a clean test filter: the macOS classes (MacOSSidebarIconsTests,MacOSUserDirectoriesTests,MacOSFileTagsStoreTests,MacOSKeychainSecretStoreTests) plus the platform-independentBinaryPlistTests(Finder-tag plist parser) run via the MSTest runner filter--filter "FullyQualifiedName~MacOS|FullyQualifiedName~BinaryPlist". The rest oftests/Files.Platform.Testsis Linux-only at runtime (111 failures on macOS per PR Feature: macOS desktop head that builds and starts #233), so it stays on the Linux job. All macOS tests are pure logic or use a fake keychain, so nothing on the runner prompts.nightly-linux.yml, extended) — a secondbuild-macosjob runsscripts/macos/publish.sh --zipand the publish step attachesLinuxFiles-nightly-macos-arm64.zipto the rollingnightlyrelease next to the Linux assets. The zip contains an unsigned, not notarizedLinuxFiles.app(no codesigning beyond the linker's automatic ad-hoc signature on arm64); the release notes tell users to unzip and right-click → Open. ASHA256SUMSasset in the same style aspackage-linux.ymlnow covers all three nightly assets (new for Linux assets too — the nightly previously had no checksums). Aworkflow_dispatchdry_runinput replaces a throwawaynightly-dryrunrelease instead of the real one. The stable release flow (package-linux.yml) is deliberately untouched; adding a signed/notarized macOS artifact there is future work.scripts/macos/publish.sh(dotnet publish -r osx-arm64 --self-contained, same trim/AOT defaults asscripts/linux/publish.sh, assemblesartifacts/LinuxFiles.app, optional--zipviaditto) andpackaging/macos/Info.plist(bundle idio.github.memergamer.LinuxFiles, executableFiles, no icon yet).docs/linux-port/packaging.mdgets a short macOS section.cc @lextm — could you check that the CI job and
scripts/macos/publish.shmatch your local macOS setup (SDK perglobal.json10.0.102 withrollForward: latestMajor,dotnet build src/Files.App -f net10.0-desktop)?Known limits
.appbundle has no icon, andosx-x64is wired in the script but only arm64 is built/published.workflow_dispatchdry_runon this branch (results reported below).🤖 Generated with GLM via pi