-
Notifications
You must be signed in to change notification settings - Fork 18
43 lines (34 loc) · 922 Bytes
/
ci.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
name: Master
on:
push:
branches :
- master
pull_request:
branches :
- master
jobs:
MacOS:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: use Setup-Scheme
uses: guenchi/setup-scheme@master
with:
implementation: chez
- name: install Raven
run: |
cd /usr/local/bin
cp chez scheme
curl -L http://ravensc.com/install | scheme
- name: install NumPy
run: pip3 install numpy
- name: Testing
run: |
git clone https://github.com/guenchi/Darkart
mkdir lib
mv darkart lib/darkart
cd lib/darkart/c
cc -fPIC -shared -L/Library/Frameworks/Python.framework/Versions/3.7/lib/ -lpython3.7 -o ../py.so py.c
cd ../..
raven run test/test-pycall.sc