-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (44 loc) · 1.41 KB
/
chicken-scheme-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
44
45
46
47
48
49
50
51
name: Chicken Scheme CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: iraikov/setup-scheme@master
with:
implementation: 'chicken'
version: '5.2.0'
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install libpython3-dev
sudo /usr/local/bin/chicken-install test brev-separate
- name: Build
run: sudo /usr/local/bin/chicken-install
- name: Run tests
run: CHICKEN_CSI=/usr/local/bin/csi /usr/local/bin/csi -s tests/run.scm
build-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- uses: iraikov/setup-scheme@master
with:
implementation: 'chicken'
version: '5.2.0'
- name: Install dependencies
run: |
sudo /usr/local/bin/chicken-install test brev-separate
python3 -c "from sysconfig import get_paths; import pprint; pprint.pprint(get_paths())"
- name: Build
run: |
sudo PYTHON_CFLAGS=-I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 \
PYTHON_LFLAGS=-L/Library/Frameworks/Python.framework/Versions/3.11/lib \
PYTHON_LIBS=-lpython3.11 \
/usr/local/bin/chicken-install
- name: Run tests
run: CHICKEN_CSI=/usr/local/bin/csi /usr/local/bin/csi -s tests/run.scm