Nightly #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- 'README.org' | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
schedule: | |
- cron: '0 15 * * *' | |
jobs: | |
test: | |
name: ${{ matrix.lisp }} (${{ matrix.cffi }}) / ${{ matrix.quicklisp-dist }} on ${{ matrix.os }} with duckdb nightly | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
lisp: [sbcl-bin, ccl-bin/1.12.2, ecl/23.9.9] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
quicklisp-dist: | |
- ultralisp | |
cffi: [default, static] | |
exclude: | |
- lisp: sbcl-bin | |
cffi: static | |
- lisp: ccl-bin/1.12.2 | |
cffi: static | |
- os: windows-latest | |
lisp: ccl-bin/1.12.2 | |
- os: windows-latest | |
lisp: ecl/23.9.9 | |
env: | |
LISP: ${{ matrix.lisp }} | |
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install DuckDB (Linux) | |
if: runner.os == 'Linux' | |
continue-on-error: true | |
shell: bash | |
run: | | |
aria2c "https://artifacts.duckdb.org/latest/duckdb-binaries-linux.zip" | |
unzip duckdb-binaries-linux.zip -d . | |
unzip libduckdb-linux-amd64.zip -d . | |
- name: Install DuckDB (macOS) | |
if: runner.os == 'macOS' | |
continue-on-error: true | |
shell: bash | |
run: | | |
aria2c "https://artifacts.duckdb.org/latest/duckdb-binaries-osx.zip" | |
7z x duckdb-binaries-osx.zip | |
7z x libduckdb-osx-universal.zip | |
- name: Install DuckDB (Windows) | |
if: runner.os == 'Windows' | |
continue-on-error: true | |
run: | | |
aria2c "https://artifacts.duckdb.org/latest/duckdb-binaries-windows.zip" | |
7z x duckdb-binaries-windows.zip | |
7z x libduckdb-windows-amd64.zip | |
- name: Setup Lisp | |
continue-on-error: true | |
uses: 40ants/setup-lisp@v2 | |
with: | |
qlfile-template: | | |
{% ifequal quicklisp_dist "ultralisp" %} | |
dist ultralisp http://dist.ultralisp.org | |
{% endifequal %} | |
- name: Run tests (Non-Windows) | |
if: runner.os != 'Windows' | |
shell: bash | |
run: | | |
export DYLD_LIBRARY_PATH=./ | |
export LD_LIBRARY_PATH=./ | |
if [ ${{ matrix.cffi }} = 'static' ]; then export CL_DUCKDB_USE_SFFI=t; fi | |
export CL_DUCKDB_LIBRARY_PATH="${{ github.workspace }}" | |
if [ ${{ matrix.os }} = 'macos-latest' ]; then sudo cp ./libduckdb.dylib /usr/local/lib/; fi | |
ros install neil-lindquist/ci-utils | |
run-fiveam -e t -l duckdb/test :duckdb | |
- name: Run tests (Windows) | |
if: runner.os == 'Windows' | |
shell: msys2 {0} | |
run: | | |
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/:./ | |
export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib/:./ | |
if [ ${{ matrix.cffi }} = 'static' ]; then export CL_DUCKDB_USE_SFFI=t; fi | |
export CL_DUCKDB_LIBRARY_PATH="${{ github.workspace }}" | |
pacman --noconfirm -S libffi-devel pkgconf | |
ros --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(uiop:quit)' | |
ros install neil-lindquist/ci-utils | |
run-fiveam -e t -l duckdb/test :duckdb |