moonrat/.github/workflows/ci.yml

30 lines
987 B
YAML
Raw Permalink Normal View History

2022-09-25 16:23:15 +00:00
on: [push, pull_request]
name: CI
jobs:
build:
name: "Build on Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})"
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
strategy:
fail-fast: false
matrix:
racket-version: ["stable", "current"]
racket-variant: ["BC", "CS"]
include:
- racket-version: current
experimental: true
steps:
- uses: actions/checkout@v2
- uses: Bogdanp/setup-racket@v1.7
with:
architecture: x64
distribution: full
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
- name: Installing MRG and its dependencies
2022-09-25 16:32:48 +00:00
run: raco pkg install --no-docs --auto --name moonrat
2022-09-25 16:23:15 +00:00
- name: Compiling MRG and building its docs
2022-09-25 16:32:48 +00:00
run: raco setup --check-pkg-deps --unused-pkg-deps moonrat
2022-09-25 16:23:15 +00:00
- name: Testing MRG
2022-09-25 16:32:48 +00:00
run: raco test -x -p moonrat