2020-10-30 18:12:58 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
name: CI/CD
|
2019-10-07 06:53:18 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
2020-10-30 18:12:58 +00:00
|
|
|
name: "Build on ${{ matrix.os }}, ${{ matrix.version }} (${{ matrix.variant }})"
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
variant: ["CS", "regular"]
|
2020-10-30 18:22:43 +00:00
|
|
|
version: ["7.8", "current"]
|
2020-10-30 18:40:15 +00:00
|
|
|
os: ["macos-latest", "ubuntu-latest"]
|
2020-10-30 18:12:58 +00:00
|
|
|
|
2019-10-07 06:53:18 +00:00
|
|
|
steps:
|
2020-10-30 18:12:58 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: Install Racket
|
|
|
|
uses: Bogdanp/setup-racket@v0.10
|
2019-10-07 06:53:18 +00:00
|
|
|
with:
|
2020-10-30 18:12:58 +00:00
|
|
|
architecture: x64
|
|
|
|
distribution: full
|
|
|
|
variant: ${{ matrix.variant }}
|
|
|
|
version: ${{ matrix.version }}
|
|
|
|
|
|
|
|
- name: Install pkg and deps
|
|
|
|
run: raco pkg install --batch --auto sass/
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: raco test -j 4 -l sass
|