Skip to content

Commit 86c157e

Browse files
committed
Only run build on macOS
1 parent 792c412 commit 86c157e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ env:
88
jobs:
99
build_prepare:
1010
name: Prepare build
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
os: [ubuntu-22.04, macos-14]
1511
outputs:
1612
version: ${{ steps.version.outputs.version }}
1713
channel: ${{ steps.version.outputs.channel }}
@@ -54,7 +50,7 @@ jobs:
5450
path: ./project-chip
5551
- name: Checkout submodules
5652
working-directory: ./project-chip
57-
run: scripts/checkout_submodules.py --shallow --platform linux
53+
run: scripts/checkout_submodules.py --shallow --platform linux --platform darwin
5854
- name: Apply patches
5955
working-directory: ./project-chip
6056
run: |
@@ -85,12 +81,15 @@ jobs:
8581
strategy:
8682
matrix:
8783
arch:
88-
- name: x86_64
84+
- name: linux-x86_64
8985
container: ghcr.io/project-chip/chip-build:1
9086
runner: ubuntu-22.04
91-
- name: aarch64
87+
- name: linux-aarch64
9288
container: docker.io/agners/aarch64-chip-build:1
9389
runner: ARM64
90+
- name: macos-aarch64
91+
container: ghcr.io/project-chip/chip-build:1
92+
runner: macos-14
9493

9594
runs-on: ${{ matrix.arch.runner }}
9695
permissions:

0 commit comments

Comments
 (0)