A => .builds/alpine.yml +32 -0
@@ 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