From cb801f131289339347602c917653a4d0736d6ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Mon, 26 Oct 2026 22:37:31 +0100 Subject: [PATCH] ci: stop building on macOS for pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit macOS runners bill at ten times the Linux rate in a private repository. CI now builds and tests on Linux and Windows only, and release.yml builds the .dmg files for a release tag or a manual run, no longer for every pull request that touches the packaging. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/release.yml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36f1c94..63e99f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,10 @@ jobs: strategy: fail-fast: false matrix: - # Windows and macOS are the platforms Freizeichen ships for; Linux is where the - # DL500A is tested by hand today and where the format check runs. - os: [ubuntu-latest, windows-latest, macos-latest] + # macOS runners bill at 10x in a private repository, so pull requests build on Linux and + # Windows only. macOS is built when a release is tagged (release.yml), and the code it + # alone runs (MacTelHandlerRegistration) is thin interop no test here could exercise. + os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} timeout-minutes: 20 steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0d972c..0ab31ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,8 +104,11 @@ jobs: path: '*.msi' if-no-files-found: error + # macOS runners bill at 10x in a private repository: the .dmg is built for a release tag or a + # manual run, not for every pull request that touches the packaging. macos: needs: version + if: github.event_name != 'pull_request' strategy: fail-fast: false matrix: