# HG changeset patch # User Malcolm Matalka # Date 1563779823 -7200 # Mon Jul 22 09:17:03 2019 +0200 # Node ID e4d5e0c87c51c4008ab8e9013095bc20e27b50c5 # Parent b34cddf54c7fc2d23f562163916b67f94666207d ADD Alpine build diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,32 @@ +image: alpine/edge +packages: + - make + - mercurial + - opam +secrets: + - c662a15d-dfb4-43c9-8057-1a1e5fbcb76e + - 8b37ab4f-8ff6-4b79-b815-806a1768d44b +sources: + - hg+ssh://hg@hg.sr.ht/~mmatalka/byocm +tasks: + - opam-init: | + opam init -a + - build-compiler: | + eval $(opam env) + opam switch create 4.06.0 + - setup-environment: | + eval $(opam env) + opam install -y hll pds + - build: | + eval $(opam env) + cd byocm/code + time gmake -j4 + - test: | + eval $(opam env) + cd byocm/code + set +e + time env OCAMLRUNPARAM=b gmake -j4 -k test + test_ret=$? + set -x + find . -name '*.tap' -exec cat '{}' \; + exit $test_ret