-
-
Notifications
You must be signed in to change notification settings - Fork 120
72 lines (61 loc) · 1.47 KB
/
macos_test.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
name: macOS
on:
pull_request:
push:
branches:
- master
jobs:
tests:
env:
COLORTERM: truecolor
NPROC: 2
TERM: xterm
name: 🍎 build, test, & install
runs-on: macos-latest
steps:
- name: Install tools and libraries via Homebrew
run: |
brew install \
coreutils \
doctest \
ffmpeg \
libdeflate \
libunistring \
ncurses \
pkg-config
- uses: actions/checkout@v2
- name: cmake
run: |
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_PANDOC=off
- name: make
run: |
cd build
make -j${NPROC}
- name: ctest
run: |
cd build
make test
#ctest --output-on-failure
- name: make install
run: |
cd build
sudo make install
#- name: python wrappers (old)
#run: |
#python3 -m pip install --upgrade pip
#pip3 install cffi pypandoc
#cd cffi
#python3 setup.py sdist build
#sudo python3 setup.py install
#notcurses-pydemo > /dev/null
#ncdirect-pydemo > /dev/null
#- name: python wrappers (new)
#run: |
#cd python
#python3 setup.py build
#sudo python3 setup.py install
#python3 examples/000-print-version.py