From 7fd7dbf713ec48ef012719ace58f0381154ba1d0 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 14 Oct 2024 18:23:32 -0400 Subject: [PATCH] ci: Exclude emulated systems on non-mail builds --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b4c4134..91782dd9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,6 +26,14 @@ jobs: strategy: matrix: system: [x86_64-linux, aarch64-linux, aarch64-darwin, x86_64-darwin] + isMain: + - ${{ contains(github.ref, 'master') }} + # Excluded emulated builds on PRs + exclude: + - system: aarch64-linux + isMain: false + - system: x86_64-darwin + isMain: false fail-fast: false steps: - uses: actions/checkout@v4