Skip to content

Commit 5e6ca99

Browse files
committed
add GHA workflow to run tests on macOS
1 parent 3cb82aa commit 5e6ca99

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test-macos.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: test-macos
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test-macos:
9+
runs-on: macos-13
10+
steps:
11+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }} # to match buildomat behavior
14+
- name: Toolchain setup
15+
run: |
16+
set -o xtrace
17+
source .github/workflows/macos-setup.sh
18+
echo "PATH=$PATH" >>"$GITHUB_ENV"
19+
- name: Build
20+
run: gmake -j`sysctl -n hw.ncpu` test
21+
env:
22+
BROWSERSLIST_IGNORE_OLD_DATA: 1
23+

0 commit comments

Comments
 (0)