-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 948 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
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
racket-variant: ["CS"]
racket-version: ["stable"]
name: Build on ${{ matrix.racket-variant }} Racket
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Racket
uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
- name: Install Package and its Dependencies
run: raco pkg install --auto --batch
- name: Check compilation
run: raco exe --gui main.rkt
- name: Create C lib for FFI
run: gcc -c -fPIC utilities/bplustree.c -o utilities/bplustree.o && gcc utilities/bplustree.o -shared -o libbplustree.so
- name: Check test
run: raco test main.rkt