Skip to content

Commit a7863e4

Browse files
committed
Add a macOS CI workflow
1 parent fd33551 commit a7863e4

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/macos.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: macOS
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
Build:
9+
name: ARM64
10+
runs-on: macos-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v7
14+
- name: Install dependencies
15+
run: brew install llvm lld
16+
- name: Build and install
17+
run: |
18+
./configure.sh --prefix="$HOME/.local" \
19+
--path-prepend="$(brew --prefix llvm)/bin:$(brew --prefix lld)/bin:" \
20+
--disable-elftool
21+
make V=1
22+
make V=1 install

0 commit comments

Comments
 (0)