mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 08:27:45 +03:00
Adds Github Actions config to build compiler and run carp tests
This commit is contained in:
parent
36445ba0df
commit
8ef25ee40f
28
.github/workflows/carp.yml
vendored
Normal file
28
.github/workflows/carp.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-haskell@v1
|
||||
|
||||
- uses: actions/cache@v1
|
||||
name: Cache ~/.stack
|
||||
with:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
|
||||
- name: Build
|
||||
run: stack build
|
||||
|
||||
- name: Run Carp Tests
|
||||
run: ./run_carp_tests.sh --no_sdl
|
Loading…
Reference in New Issue
Block a user