ci: build and test using GitHub Actions

This commit is contained in:
Bogdan Popa 2019-10-07 09:53:18 +03:00
parent 8abb33d232
commit e6a4183921
4 changed files with 23 additions and 0 deletions

2
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,2 @@
github: Bogdanp
patreon: popabogdanp

11
.github/workflows/push.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: push
name: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and Test
uses: docker://jackfirth/racket:7.3-full
with:
entrypoint: /github/workspace/ci/build.sh

View File

@ -1,5 +1,7 @@
# racket-sass
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FBogdanp%2Fracket-sass%2Fbadge&style=flat)](https://actions-badge.atrox.dev/Bogdanp/racket-sass/goto)
Racket bindings for [libsass].
## TODOs

8
ci/build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
pushd /github/workspace
raco pkg install --auto --batch sass/
raco test -j 4 sass/
popd