M .builds/freebsd.yml +19 -28
@@ 11,31 11,22 @@ sources:
tasks:
- opam-init: |
opam init -a
- # - setup-environment: |
- # eval $(opam env)
- # opam repository add opam-acsl mono/opam
- # opam pin add -y sedlex 1.99.3
- # opam install -y hll pds
- # mkdir -p opam-mono/{compilers,packages}
- # echo 'opam-version: "2.0"' > opam-mono/repo
- # opam repository add opam-mono opam-mono
- # cd mono/code
- # hll generate -n monorepo --opam-dir ../../opam-mono --tag 1.0 --test-deps-as-regular-deps
- # opam update opam-mono
- # opam pin add -y scrypt ../vendor/ocaml-scrypt
- # opam pin add -y nocrypto ../vendor/ocaml-nocrypto
- # opam info monorepo
- # opam install -j4 -y --strict --deps-only monorepo
- # - build: |
- # eval $(opam env)
- # cd mono
- # time gmake -j4
- # - test: |
- # eval $(opam env)
- # cd mono/code
- # set +e
- # time env OCAMLRUNPARAM=b gmake -j4 -k test
- # test_ret=$?
- # set -x
- # find . -name '*.tap' -exec cat '{}' \;
- # exit $test_ret
+ - 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
+ 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