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"]
|
|
|
|
version: ["7.7", "7.8", "current"]
|
|
|
|
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
|
|
|
|
|
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
|