Skip to content

Commit

Permalink
Only run build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Feb 6, 2024
1 parent 792c412 commit 86c157e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ env:
jobs:
build_prepare:
name: Prepare build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
outputs:
version: ${{ steps.version.outputs.version }}
channel: ${{ steps.version.outputs.channel }}
Expand Down Expand Up @@ -54,7 +50,7 @@ jobs:
path: ./project-chip
- name: Checkout submodules
working-directory: ./project-chip
run: scripts/checkout_submodules.py --shallow --platform linux
run: scripts/checkout_submodules.py --shallow --platform linux --platform darwin
- name: Apply patches
working-directory: ./project-chip
run: |
Expand Down Expand Up @@ -85,12 +81,15 @@ jobs:
strategy:
matrix:
arch:
- name: x86_64
- name: linux-x86_64
container: ghcr.io/project-chip/chip-build:1
runner: ubuntu-22.04
- name: aarch64
- name: linux-aarch64
container: docker.io/agners/aarch64-chip-build:1
runner: ARM64
- name: macos-aarch64
container: ghcr.io/project-chip/chip-build:1
runner: macos-14

runs-on: ${{ matrix.arch.runner }}
permissions:
Expand Down

0 comments on commit 86c157e

Please sign in to comment.