diff --git a/.github/workflows/call-build-macos.yaml b/.github/workflows/call-build-macos.yaml index 229d9c73ffd..e8a7bf8a267 100644 --- a/.github/workflows/call-build-macos.yaml +++ b/.github/workflows/call-build-macos.yaml @@ -64,12 +64,29 @@ jobs: call-build-macos-package: if: needs.call-build-macos-legacy-check.outputs.build-type == 'modern' - runs-on: macos-latest + runs-on: ${{ matrix.config.runner }} environment: ${{ inputs.environment }} needs: - call-build-macos-legacy-check permissions: contents: read + strategy: + fail-fast: false + matrix: + config: + - name: "Normal macOS-latest runner" + runner: macos-latest + - name: "Apple Silicon macOS runner" + runner: macos-latest-xlarge + + include: + - name: "Normal macOS-latest runner" + runner: macos-latest + package: intel + - name: "Apple Silicon macOS runner" + runner: macos-latest-xlarge + package: apple + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -92,7 +109,7 @@ jobs: - name: Upload build packages uses: actions/upload-artifact@v4 with: - name: macos-packages + name: macos-packages on ${{ matrix.config.package }} path: | build/fluent-bit-*-apple* build/fluent-bit-*-intel*