diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c011a3b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + timeout-minutes: 5 + + strategy: + matrix: + arch: ['src', 'src64'] + version: ['17.12', '18.6', '18.12', '19.6', 'latest'] + + steps: + - uses: actions/checkout@v1 + - uses: aw/picolisp-action@v1 + with: + version: ${{matrix.version}} + architecture: ${{matrix.arch}} + + - name: Run the tests on PicoLisp ${{matrix.arch}} v${{matrix.version}} + run: make check diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8e78d02..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: bash -sudo: false -cache: apt - -before_script: - - wget https://software-lab.de/picoLisp-18.12.tgz -O /tmp/picolisp.tgz - - cd /tmp; tar -xf /tmp/picolisp.tgz - - cd /tmp/picoLisp; wget https://software-lab.de/x86-64.linux.tgz - - tar -xf x86-64.linux.tgz - - cd /tmp/picoLisp/src64 && make - - export PATH=$PATH:/tmp/picoLisp - - make clean; make - -script: - - cd ${TRAVIS_BUILD_DIR} && (for i in plain default; do TEST_REPORTER="$i" /tmp/picoLisp/pil test.l; done) diff --git a/README.md b/README.md index d171066..7b7626a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Unit Testing framework for PicoLisp -[![GitHub release](https://img.shields.io/github/release/aw/picolisp-unit.svg)](https://github.com/aw/picolisp-unit) [![Build Status](https://travis-ci.org/aw/picolisp-unit.svg?branch=master)](https://travis-ci.org/aw/picolisp-unit) +[![GitHub release](https://img.shields.io/github/release/aw/picolisp-unit.svg)](https://github.com/aw/picolisp-unit) ![Build status](https://github.com/aw/picolisp-unit/workflows/CI/badge.svg?branch=master) This library can be used for Unit Testing your [PicoLisp](http://picolisp.com/) code. @@ -21,8 +21,8 @@ Please read [EXPLAIN.md](EXPLAIN.md) to learn more about PicoLisp and this Unit # Requirements - * PicoLisp 32-bit or 64-bit v3.1.9+ - * Tested up to PicoLisp v18.12 + * PicoLisp 32-bit or 64-bit `v3.1.9+` + * Tested up to PicoLisp `v19.11.25`, [see test runs](https://github.com/aw/picolisp-unit/commit/1a455ba10058dffacfb3d4ef930c89ee82a57a83/checks) # Getting Started