-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (47 loc) · 1.59 KB
/
BSD.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: BSD
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.org'
pull_request:
branches: [ "main" ]
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
test:
name: ${{ matrix.lisp }} (${{ matrix.cffi }}) on ${{ matrix.os }}
runs-on: ubuntu-22.04
strategy:
matrix:
os: [FreeBSD]
lisp: [sbcl-bin, ccl-bin/1.13, ecl/24.5.10]
cffi: [default, static]
exclude:
- lisp: sbcl-bin
cffi: static
- lisp: ccl-bin/1.13
cffi: static
steps:
- uses: actions/checkout@v4
- name: Install dependencies & run tests
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: rsync
copyback: false
prepare: |
sed 's/quarterly/latest/' /etc/pkg/FreeBSD.conf > /tmp/FreeBSD.conf && mv /tmp/FreeBSD.conf /etc/pkg/
pkg install -y duckdb bash roswell autoconf texinfo perl5 gmake gcc libffi
ln -s /usr/local/bin/gmake /bin/make
ln -s /usr/local/bin/bash /usr/local/bin/sh # ugh
export PATH=/usr/local/bin/:$PATH
ros install ${{ matrix.lisp }}
ros install neil-lindquist/ci-utils
ros use ${{ matrix.lisp }}
ros run --eval '(progn (ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil) (uiop:quit))'
run: |
ln -s $(pwd) ~/.roswell/local-projects/cl-duckdb
if [ ${{ matrix.cffi }} = 'static' ]; then export CL_DUCKDB_USE_SFFI=t; fi
~/.roswell/bin/run-fiveam -e t -l duckdb/test :duckdb