-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.03 KB
/
macos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: macOS
on:
push:
branches:
- main
paths:
- "uvio/**"
- "tests/**"
- ".github/workflows/macos.yaml"
pull_request:
branches:
- main
paths:
- "uvio/**"
jobs:
build_macos:
runs-on: macos-latest
strategy:
fail-fast: false
name: "Apple clang (C++20, release)"
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- name: Checkout
uses: actions/checkout@main
- name: Brew install
run: |
# brew install curl git pkg-config llvm
brew install curl git pkg-config
brew install libuv
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: '3.12'
- name: Install Meson/Ninja
run: |
python3 -m pip install meson ninja
- name: Build
run: |
meson setup build -Dbuildtype=release
meson compile -C build
./build/tests/gtests/all_gtests
- name: Install
run: |
sudo meson install -C build