From 62b19a07d86278ae48614edea274bf383c3f0041 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Sun, 29 Nov 2020 19:15:56 +0200 Subject: [PATCH] build: add GH Actions CI (#243) --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2bae6ed --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: [push, pull_request] + +jobs: + run: + name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + racket-version: ["7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "current"] + racket-variant: ["BC", "CS"] + steps: + - name: Checkout + uses: actions/checkout@master + + - uses: Bogdanp/setup-racket@v0.11 + with: + distribution: 'full' + version: ${{ matrix.racket-version }} + variant: ${{ matrix.racket-variant }} + + - name: Install Pollen and its dependencies + run: raco pkg install --auto --batch + + - name: Run the tests + run: xvfb-run raco test -j 4 -p pollen