diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..31bb75b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +on: + push: + pull_request: + branches: [ master ] + +jobs: + build: + name: Build ${{ matrix.lisp }} on ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + lisp: [ sbcl-bin, allegro ] + os: [ ubuntu-latest ] + runs-on: ${{ matrix.os }} + steps: + - name: Windows specific settings + if: matrix.os == 'windows-latest' + run: | + git config --global core.autocrlf false + echo "ROSWELL_INSTALL_DIR=~/ros" >> "$GITHUB_ENV" + echo "~/ros/bin" >> $GITHUB_PATH + - uses: actions/checkout@v3 + - name: cache .roswell + id: cache-dot-roswell + uses: actions/cache@v3 + 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 + shell: bash + env: + LISP: ${{ matrix.lisp }} + run: curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + - 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: build deflate + shell: bash + run: | + ros -e '(ql:quickload "deflate")' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 438fcd7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: lisp -sudo: required - -env: - matrix: - - LISP=abcl - - LISP=allegro - - LISP=sbcl - - LISP=sbcl32 - - LISP=ccl - - LISP=ccl32 - - LISP=clisp - - LISP=clisp32 - - LISP=cmucl - - LISP=ecl - -matrix: - allow_failures: - - env: LISP=ccl32 - - env: LISP=cmucl - -install: - - curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh - -script: - - cl -e '(ql:quickload "deflate")'