-
Notifications
You must be signed in to change notification settings - Fork 19
45 lines (45 loc) · 1.09 KB
/
ci-macos.yml
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
name: macOS CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
detached: true
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
brew install autoconf automake hidapi libtool libzip
pip3 install build
- name: Build libconcord
run: |
cd libconcord
mkdir m4; autoreconf --install
./configure
make
sudo make install
cd -
- name: Build libconcord Python bindings
run: |
cd libconcord/bindings/python
python3 -m build
pip3 install dist/*.whl
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib python3 -c 'import libconcord; print(libconcord)'
cd -
- name: Build concordance
run: |
cd concordance
mkdir m4; autoreconf --install
./configure
make
sudo make install
cd -
concordance --version