Skip to content

Commit

Permalink
Bump 40ants/setup-lisp to v4 in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-coram committed Apr 12, 2024
1 parent 7df7557 commit 1b3ff57
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: Setup Lisp
continue-on-error: true
uses: 40ants/setup-lisp@v2
uses: 40ants/setup-lisp@v4
with:
cache: false
asdf-system: duckdb/benchmark
qlfile-template: |
dist ultralisp http://dist.ultralisp.org
Expand Down
27 changes: 8 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,25 @@ on:

jobs:
test:
name: ${{ matrix.lisp }} (${{ matrix.cffi }}) / ${{ matrix.quicklisp-dist }} on ${{ matrix.os }} with duckdb ${{ matrix.duckdb }}
name: ${{ matrix.lisp }} (${{ matrix.cffi }}) on ${{ matrix.os }} with duckdb ${{ matrix.duckdb }}
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-13, macos-14]
quicklisp-dist:
- ultralisp
duckdb: [0.10.1]
cffi: [default, static]
exclude:
- lisp: sbcl-bin
cffi: static
- lisp: ccl-bin/1.12.2
cffi: static
- os: windows-latest
- os: macos-14
lisp: ccl-bin/1.12.2
- os: windows-latest
lisp: ecl/23.9.9
env:
LISP: ${{ matrix.lisp }}
DUCKDB_VERSION: ${{ matrix.duckdb }}
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }}
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -65,12 +60,9 @@ jobs:
- name: Setup Lisp
continue-on-error: true
uses: 40ants/setup-lisp@v2
uses: 40ants/setup-lisp@v4
with:
qlfile-template: |
{% ifequal quicklisp_dist "ultralisp" %}
dist ultralisp http://dist.ultralisp.org
{% endifequal %}
cache: false

- name: Run tests (Non-Windows)
if: runner.os != 'Windows'
Expand All @@ -81,9 +73,8 @@ jobs:
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
asdf-register-project
run-fiveam -e t -l duckdb/test :duckdb
ros --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(uiop:quit)'
ros --eval "(progn (ql:quickload :duckdb/test) (uiop:quit (if (uiop:symbol-call :fiveam '#:run! :duckdb) 0 1)))"
- name: Run tests (Windows)
if: runner.os == 'Windows'
Expand All @@ -92,7 +83,5 @@ jobs:
if [ ${{ matrix.cffi }} = 'static' ]; then export CL_DUCKDB_USE_SFFI=t; fi
export CL_DUCKDB_LIBRARY_PATH="${{ github.workspace }}"
pacman --noconfirm -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-libffi
ros --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(ql:quickload :cffi-grovel)' --eval "(progn (setf cffi-grovel::*cc-flags* (append (list \"-I`cygpath -w /mingw64/include`\") cffi-grovel::*cc-flags*)) (ql:quickload :cffi-libffi))" --eval '(uiop:quit)'
ros install neil-lindquist/ci-utils
asdf-register-project
run-fiveam -e t -l duckdb/test :duckdb
ros --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(uiop:quit)'
ros --eval '(ql:quickload :cffi-grovel)' --eval "(progn (setf cffi-grovel::*cc-flags* (append (list \"-I`cygpath -w /mingw64/include`\") cffi-grovel::*cc-flags*)) (ql:quickload :cffi-libffi))" --eval "(progn (ql:quickload :duckdb/test) (uiop:quit (if (uiop:symbol-call :fiveam '#:run! :duckdb) 0 1)))"
4 changes: 3 additions & 1 deletion .github/workflows/Nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ jobs:
- name: Setup Lisp
continue-on-error: true
uses: 40ants/setup-lisp@v2
uses: 40ants/setup-lisp@v4
with:
cache: false
asdf-system: duckdb/test
qlfile-template: |
{% ifequal quicklisp_dist "ultralisp" %}
dist ultralisp http://dist.ultralisp.org
Expand Down

0 comments on commit 1b3ff57

Please sign in to comment.