mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-08-17 03:40:33 +03:00
Add Travis CI config
This commit is contained in:
parent
36b5081a4e
commit
6ab41086a7
19
.ci-dockerfiles/ci-base.dockerfile
Normal file
19
.ci-dockerfiles/ci-base.dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
from haskell:8.2
|
||||||
|
|
||||||
|
run apt-get update && apt-get install -y \
|
||||||
|
clang lld-4.0 \
|
||||||
|
curl wget \
|
||||||
|
chicken-bin racket \
|
||||||
|
libx11-dev uuid-dev \
|
||||||
|
libncurses5-dev
|
||||||
|
|
||||||
|
run wget https://github.com/cisco/ChezScheme/archive/v9.5.2.tar.gz && \
|
||||||
|
tar xvzf v9.5.2.tar.gz && \
|
||||||
|
cd ChezScheme-9.5.2 && \
|
||||||
|
./configure --threads && \
|
||||||
|
make -j install
|
||||||
|
|
||||||
|
run cabal update && cabal install -j --with-ld=ld.lld-4.0 idris-1.3.2
|
||||||
|
|
||||||
|
env IDRIS_CC=clang
|
||||||
|
cmd idris
|
7
.ci-dockerfiles/ci-run.dockerfile
Normal file
7
.ci-dockerfiles/ci-run.dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from theodus/idris2-ci-base:latest
|
||||||
|
|
||||||
|
copy . /Idris2-dev
|
||||||
|
workdir /Idris2-dev
|
||||||
|
run make idris2
|
||||||
|
run make libs
|
||||||
|
run make test
|
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
dist: bionic
|
||||||
|
|
||||||
|
services: docker
|
||||||
|
|
||||||
|
language: minimal
|
||||||
|
|
||||||
|
before_install: docker pull theodus/idris2-ci-base:latest
|
||||||
|
|
||||||
|
script: docker build . -f .ci-dockerfiles/ci-run.dockerfile
|
Loading…
Reference in New Issue
Block a user