Skip to content

Commit 4c83c50

Browse files
authored
CI on macOS arm64
1 parent 5e5f8c1 commit 4c83c50

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/ci-macos-11.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
linuxbuild:
11+
macosbuild:
1212
runs-on: macos-11
1313
steps:
1414
- uses: xmake-io/github-action-setup-xmake@v1

.github/workflows/ci-macos-arm64.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build on macOS arm64
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
macosbuild:
12+
strategy:
13+
matrix:
14+
os: [macos-12]
15+
arch: [arm64]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: xmake-io/github-action-setup-xmake@v1
19+
with:
20+
xmake-version: v2.8.5
21+
- uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 1
24+
- name: config
25+
run: xmake config --yes -vD
26+
- name: build
27+
run: xmake build --yes -vD s7
28+
- name: test
29+
run: xmake run --yes -vD plus.scm
30+

0 commit comments

Comments
 (0)