Skip to content
Snippets Groups Projects
Commit dcbd33d0 authored by Julien Girard-Satabin's avatar Julien Girard-Satabin
Browse files

Merge branch 'fix/julien/ci-resources' into 'master'

Limit resource consumption of Continuous Integration

See merge request laiser/caisar!79
parents 04f7f8c7 f8b900c0
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,9 @@ tests: ...@@ -18,9 +18,9 @@ tests:
- sudo apt install -y protobuf-compiler - sudo apt install -y protobuf-compiler
- opam repository add remote https://opam.ocaml.org - opam repository add remote https://opam.ocaml.org
- opam depext --yes ocplib-endian base fmt alt-ergo.2.4.0 - opam depext --yes ocplib-endian base fmt alt-ergo.2.4.0
- opam install . --deps-only --with-test --yes - opam install --jobs 2 . --deps-only --with-test --yes
- make - make all-ci
- make test - make test-ci
tags: tags:
- docker - docker
when: always when: always
......
all: all:
dune build --root=. @install caisar.opam caisar-nnet.opam caisar-onnx.opam caisar-ovo.opam caisar-ir.opam dune build --root=. @install caisar.opam caisar-nnet.opam caisar-onnx.opam caisar-ovo.opam caisar-ir.opam
all-ci:
dune build -j2 --root=. @install caisar.opam caisar-nnet.opam caisar-onnx.opam caisar-ovo.opam caisar-ir.opam
install: install:
dune install dune install
...@@ -10,6 +13,9 @@ uninstall: ...@@ -10,6 +13,9 @@ uninstall:
test: test:
dune runtest --root=. dune runtest --root=.
test-ci:
dune runtest -j2 --root=.
promote: promote:
dune promote --root=. dune promote --root=.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment