A => .build.yml +35 -0
@@ 0,0 1,35 @@
+image: freebsd/latest
+packages:
+ - gmake
+ - ocaml-opam
+ - pkgconf
+secrets:
+ - c662a15d-dfb4-43c9-8057-1a1e5fbcb76e
+ - 8b37ab4f-8ff6-4b79-b815-806a1768d44b
+sources:
+ - hg+ssh://hg@hg.sr.ht/~mmatalka/snabela
+tasks:
+ - opam-init: |
+ opam init -a
+ - build-compiler: |
+ eval $(opam env)
+ opam switch create 4.06.1
+ - setup-environment: |
+ eval $(opam env)
+ cd snabela
+ opam repository add opam-snabela opam
+ opam pin add -y sedlex 1.99.3
+ opam install -y hll pds
+ hll generate --opam-dir ./opam --tag 99999.0 --test-deps-as-regular-deps
+ opam update opam-snabela
+ opam info snabela
+ opam install -j4 -y --strict --deps-only snabela
+ - test: |
+ eval $(opam env)
+ cd snabela
+ set +e
+ time env OCAMLRUNPARAM=b gmake -k test
+ test_ret=$?
+ set -x
+ find . -name '*.tap' -exec cat '{}' \;
+ exit $test_ret
M hll.conf +0 -2
@@ 13,7 13,5 @@ url_protocol = "http"
build_deps = ["merlin-of-pds"]
-available = "ocaml-version >= \"4.03\""
-
[deps_map]
ppx_deriving = ["ppx_deriving.show", "ppx_deriving.eq"]
A => opam/packages/hll.3.13/opam +42 -0
@@ 0,0 1,42 @@
+opam-version: "2.0"
+maintainer: "orbitz@gmail.com"
+build: [
+ [make "-j%{jobs}%"]
+ [make "-j%{jobs}%" "test"] {with-test}
+]
+
+install: [
+ [make "PREFIX=%{prefix}%" "install"]
+]
+
+remove: [
+ [make "PREFIX=%{prefix}%" "remove"]
+]
+
+depends: [
+ "cmdliner"
+ "containers"
+ "ocamlfind"
+ "pds" { build & (>= "5" & < "6") }
+ "process"
+ "toml" { >= "4" }
+]
+
+authors: [
+ "dklee@dklee.org"
+ "orbitz@gmail.com"
+]
+
+description: """
+Create opam package files from a repository
+"""
+
+homepage: "https://bitbucket.org/mimirops/hll"
+
+url {
+ src: "https://bitbucket.org/mimirops/hll/get/3.13.tar.gz"
+ checksum: "b52c88442120060178cb892468e10283"
+}
+bug-reports: "https://bitbucket.org/mimirops/hll/issues"
+dev-repo: "git@bitbucket.org:mimirops/hll.git"
+
A => opam/packages/oth/oth.2.11/opam +43 -0
@@ 0,0 1,43 @@
+opam-version: "2.0"
+maintainer: "orbitz@gmail.com"
+build: [
+ [make "-j%{jobs}%"]
+ [make "-j%{jobs}%" "test"] {with-test}
+]
+
+install: [
+ [make "PREFIX=%{prefix}%" "install"]
+]
+
+remove: [
+ [make "PREFIX=%{prefix}%" "remove"]
+]
+
+depends: [
+ "containers"
+ "duration"
+ "merlin-of-pds"
+ "ocamlfind"
+ "pds" { build & (>= "5" & < "6") }
+ "revops"
+]
+
+authors: [
+ "dklee@dklee.org"
+ "orbitz@gmail.com"
+]
+
+description: """
+Ocaml Test Harness - Simple library for running tests
+"""
+
+homepage: "https://bitbucket.org/mimirops/oth"
+
+url {
+ src: "https://bitbucket.org/mimirops/oth/get/2.11.tar.gz"
+ checksum: "0fc90764a1660717df9e53f50037b783"
+}
+bug-reports: "https://bitbucket.org/mimirops/oth/issues"
+dev-repo: "git@bitbucket.org:mimirops/oth.git"
+
+
A => opam/packages/pds/pds.5.33/opam +45 -0
@@ 0,0 1,45 @@
+opam-version: "2.0"
+maintainer: "orbitz@gmail.com"
+build: [
+ [make "-j%{jobs}%"]
+ [make "-j%{jobs}%" "test"] {with-test}
+]
+
+install: [
+ [make "PREFIX=%{prefix}%" "install"]
+]
+
+remove: [
+ [make "PREFIX=%{prefix}%" "remove"]
+]
+
+depends: [
+ "cmdliner"
+ "containers"
+ "crunch"
+ "ocaml" { >= "4.02" }
+ "ocamlfind"
+ "ppx_deriving"
+ "process"
+ "sedlex"
+ "toml"
+]
+
+authors: [
+ "dklee@dklee.org"
+ "orbitz@gmail.com"
+]
+
+description: """
+A tool to build Makefiles for Ocaml projects
+"""
+
+homepage: "https://bitbucket.org/mimirops/pds"
+
+url {
+ src: "http://acsl-pkgs.s3.amazonaws.com/pds-5.33.tar.gz"
+ checksum: "d2508c19ae2c007b024699e380da23e6"
+}
+bug-reports: "https://bitbucket.org/mimirops/pds/issues"
+dev-repo: "git@bitbucket.org:mimirops/pds.git"
+
A => opam/repo +1 -0
@@ 0,0 1,1 @@
+opam-version: "2.0"