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: