Skip to content

Commit e799ba6

Browse files
author
Hweinstock
committed
fix(ci): migrate runners to codebuild
1 parent b5e68f8 commit e799ba6

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
check:
12-
runs-on: ubuntu-latest
12+
runs-on: codebuild-agentcore-e2e-${{ github.run_id }}-${{ github.run_attempt }}
1313
permissions:
1414
contents: read
1515
steps:

.github/workflows/unit-test.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,22 @@ on:
99

1010
jobs:
1111
test:
12-
name: Test (${{ matrix.os }})
13-
runs-on: ${{ matrix.os }}
12+
name: Test (${{ matrix.name }})
13+
runs-on: ${{ fromJSON(matrix.runner) }}
1414
permissions:
1515
contents: read
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-latest, windows-latest, macos-latest]
19+
include:
20+
- name: Linux
21+
runner: '["codebuild-agentcore-e2e-${{ github.run_id }}-${{ github.run_attempt }}"]'
22+
- name: Windows
23+
runner: '["codebuild-agentcore-e2e-${{ github.run_id }}-${{ github.run_attempt }}", "image:windows-1.0"]'
24+
# CodeBuild does not support macOS.
25+
# https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner-questions.html#action-runner-platform
26+
- name: macOS
27+
runner: '["macos-latest"]'
2028
steps:
2129
- uses: actions/checkout@v7
2230
with:

0 commit comments

Comments
 (0)