Fix rounding mode tests #43
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: CI | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: ${{ matrix.lisp }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
# clisp doesn't run on ubuntu VMs currently | |
lisp: [sbcl-bin,sbcl,ccl,ccl32,ecl,allegro,cmucl,abcl] | |
os: [ubuntu-latest] | |
fail-fast: false | |
# run the job on every combination of "lisp" and "os" above | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cache .roswell | |
id: cache-dot-roswell | |
uses: actions/cache@v1 | |
with: | |
path: ~/.roswell | |
key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }} | |
restore-keys: | | |
${{ runner.os }}-dot-roswell-${{ matrix.lisp }}- | |
${{ runner.os }}-dot-roswell- | |
- name: install roswell | |
# always run install, since it does some global installs and setup that isn't cached | |
env: | |
LISP: ${{ matrix.lisp }} | |
run: curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh -x | |
- name: install parachute | |
run: | | |
ros install parachute | |
echo "$HOME/.roswell/bin" >> $GITHUB_PATH | |
- name: run lisp | |
continue-on-error: true | |
shell: bash | |
run: | | |
ros -e '(format t "~a:~a on ~a~%...~%~%" (lisp-implementation-type) (lisp-implementation-version) (machine-type))' | |
ros -e '(format t " fixnum bits:~a~%" (integer-length most-positive-fixnum))' | |
ros -e "(ql:quickload 'trivial-features)" -e '(format t "features = ~s~%" *features*)' | |
- name: update ql dist if we have one cached | |
shell: bash | |
run: ros -e "(ql:update-all-dists :prompt nil)" | |
- name: load code and run tests | |
shell: bash | |
run: | | |
run-parachute -l "float-features-tests" "float-features-tests" |