Skip to content

Commit ef01948

Browse files
committed
ci: test against macos
Signed-off-by: Rifa Achrinza <[email protected]>
1 parent a108bb4 commit ef01948

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ jobs:
8282
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
8383
test:
8484
name: Test
85-
runs-on: ubuntu-24.04
85+
runs-on: ${{ matrix.os }}
8686
timeout-minutes: 30
8787
strategy:
8888
fail-fast: false
8989
matrix:
90+
os:
91+
- ubuntu-24.04
92+
- macos-13
9093
node-version:
9194
- 16
9295
- 18
@@ -115,11 +118,14 @@ jobs:
115118
run: ./cicd/well-known/test-harness.sh
116119
cross-test:
117120
name: Cross-test
118-
runs-on: ubuntu-24.04
121+
runs-on: ${{ matrix.os }}
119122
timeout-minutes: 30
120123
strategy:
121124
fail-fast: false
122125
matrix:
126+
os:
127+
- ubuntu-24.04
128+
- macos-13
123129
node-version:
124130
- 18
125131
- 20
@@ -131,6 +137,9 @@ jobs:
131137
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
132138
with:
133139
egress-policy: audit
140+
- name: Setup Docker (macOS)
141+
if: matrix.os == 'macos-13'
142+
uses: douglascamata/setup-dockr-macos-action@8d5fa43892aed7eee4effcdea113fd53e4d4bf83 # v1-alpha.14
134143
- name: Checkout
135144
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136145
with:

0 commit comments

Comments
 (0)