diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2024-03-22 14:26:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 14:26:16 +0100 |
commit | 30bc761391953d6487646a0dd1516dc3e7efb386 (patch) | |
tree | 6e797db913ac22d9d91540651f00d7292a59e85d | |
parent | ci(agent): Disable Python dependency caching on Windows (diff) | |
download | Auto-GPT-30bc761391953d6487646a0dd1516dc3e7efb386.tar.gz Auto-GPT-30bc761391953d6487646a0dd1516dc3e7efb386.tar.bz2 Auto-GPT-30bc761391953d6487646a0dd1516dc3e7efb386.zip |
ci(agent): Add macOS on M1 to AutoGPT CI matrix (#7041)
Use a `macos-14` runner to cover macOS on M1/arm64
- Add `macos-arm64` to `platform-os` matrix, and map it to `macos-14` runner
-rw-r--r-- | .github/workflows/autogpt-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/autogpt-ci.yml b/.github/workflows/autogpt-ci.yml index 7f3e00150..bc3858e88 100644 --- a/.github/workflows/autogpt-ci.yml +++ b/.github/workflows/autogpt-ci.yml @@ -83,8 +83,8 @@ jobs: fail-fast: false matrix: python-version: ["3.10"] - platform-os: [ubuntu, macos, windows] - runs-on: ${{ matrix.platform-os }}-latest + platform-os: [ubuntu, macos, macos-arm64, windows] + runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }} steps: # Quite slow on macOS (2~4 minutes to set up Docker) |