Commit Graph

136 Commits

Author SHA1 Message Date
Louis Gesbert
6ce9a6542e CI: disable attempting to build the rescript bindings
Temporarily until we can find how to fix it on Github. At the moment the error
is impossible to reproduce locally...

All the rest from french-law is still tested (wrappers and benches in OCaml, js
and python)
2024-03-27 14:22:14 +01:00
Louis Gesbert
c85e665650 CI: adjust script for new make rules & artifacts 2024-03-20 16:40:04 +01:00
Louis Gesbert
0d42ea0c29 Small CI fix 2024-02-12 17:25:20 +01:00
Louis Gesbert
afcc435593 CI: fix the check for bad promoted files 2024-02-12 16:44:14 +01:00
Louis Gesbert
d9700c2001 CI: when a same-name branch exists on catala-examples, use that
This offers a workaround when a PR on Catala needs a change to the examples or
french-law: you would have the CI broken either on the PR or on master.

With this, you can ensure that the CI passes without breaking master, and then
merge the branch on catala-examples/french-law simultaneously to the PR on
Catala.
2024-02-12 11:29:10 +01:00
Louis Gesbert
d60b521a4e Fix Python backend and CI 2024-02-01 01:01:04 +01:00
Louis Gesbert
502fff8a0c Fix CI for PRs yet again 2024-01-28 22:29:05 +01:00
Louis Gesbert
fd127508db CI: fix running on PRs
(for real this time...)
2024-01-25 18:58:51 +01:00
Louis Gesbert
a0cdc0e663 CI: fix checking if on master for artifact publication 2024-01-25 18:08:31 +01:00
Louis Gesbert
c0aedaf5ad CI: trigger from tags and manually 2024-01-25 10:41:51 +01:00
Louis Gesbert
b5c02cf203 Fix CI yet again 2024-01-24 11:57:59 +01:00
Louis Gesbert
f188ad678f Fix GH action caching 2024-01-24 11:41:34 +01:00
Louis Gesbert
7b25a42970 Better version handling
Always generate the version through git when possible, and encode that within
the binaries so that `catala --version` does'nt give misleading information.

Previously we used dune's builtin functionality, but that resorts to a hack at
install time which is unpleasant and doesn't work with our use of `opam
install`.

The cost is a re-linking of catala_utils and the binaries upon git commit, which
is hardly noticeable.
2024-01-24 11:41:34 +01:00
Louis Gesbert
7636a6e8d5 CI: cleanup the exposed artifacts 2024-01-22 13:58:32 +01:00
Louis Gesbert
c1d0411bf3 CI: yet another GH actions workaround (take 5) 2024-01-21 23:16:08 +01:00
Louis Gesbert
1cbda684bd CI: yet another GH actions workaround (take 4) 2024-01-20 22:50:43 +01:00
Louis Gesbert
99eb115cc8 CI: yet another GH actions workaround (take 3) 2024-01-20 20:44:12 +01:00
Louis Gesbert
3348800fee CI: yet another GH actions workaround (take 2) 2024-01-20 18:14:39 +01:00
Louis Gesbert
3fdf325e10 CI: yet another GH actions workaround 2024-01-20 16:53:17 +01:00
Louis Gesbert
b71401f1a1 CI: fix artifact name escaping 2024-01-20 14:40:29 +01:00
Louis Gesbert
81eb7bf6d2 CI: Fix artifact source dir 2024-01-20 11:51:01 +01:00
Louis Gesbert
7a9ca6486c CI: fix gathering of artifacts 2024-01-19 17:49:39 +01:00
Louis Gesbert
7f6f89c4c4 Build the html manpages as part of the doc target 2024-01-19 16:12:29 +01:00
Louis Gesbert
e676d02055 Ensure dependencies for french_law are as tight as possible
See related patch in french_law: running `npm install` would bring in the whole
bs platform, including the recompilation of a full OCaml compiler which takes
>30min on our small runners. In fact for the purpose here, it's not needed so
restrict to just the smallest js requirements.
2024-01-19 12:12:28 +01:00
Louis Gesbert
c006c3343e Rehaul CI to run examples and generate artifacts again
this requires to fetch catala-examples and french-law from their own repos

Restrict static builds and publication to master
2024-01-18 16:14:27 +01:00
adelaett
f2f13270c6
Remove the nix CI 2023-12-05 13:44:01 +01:00
Denis Merigoux
efd175a390 Remove from scripts 2023-09-13 16:16:48 +02:00
Louis Gesbert
dcb057bc6f
Module support: handle structs, enums and scope calls across modules (#497) 2023-09-01 14:35:58 +02:00
Louis Gesbert
4e9f738381 CI: fix docker image name escaping 2023-08-31 18:31:48 +02:00
Louis Gesbert
ac39b6665e Cheat-sheet: fix CI 2023-08-04 16:03:51 +02:00
Raphaël Monat
6dac7007f2 Tentative CI fix 2023-03-16 16:55:55 +01:00
Louis Gesbert
97b4ec8a6a CI: fix generation of manpage artifacts 2023-03-10 17:42:48 +01:00
Louis Gesbert
c054aa89c9 Add the HTML manpages to the artifacts 2023-03-09 16:27:04 +01:00
Louis Gesbert
37d9a6cefd Add the HTML tutorials to the published artifacts 2023-03-09 15:47:41 +01:00
Louis Gesbert
67ed7447b5 Cleanup the generated artifacts 2023-03-08 15:27:49 +01:00
Louis Gesbert
3b2019f0c3 CI: build the documentation & cheat-sheet together with the artifacts 2023-03-02 14:32:07 +01:00
Louis Gesbert
0aa9e0b130 CI: some more small artifact tweaks 2023-03-01 13:51:07 +01:00
Louis Gesbert
d5c68bb9df Fix CI artifacts page 2023-03-01 12:25:13 +01:00
Louis Gesbert
97529e97ff CI: add artifacts index 2023-03-01 10:39:11 +01:00
Louis Gesbert
0448c991d2 CI: fix publish-artifacts action 2023-02-28 18:13:01 +01:00
Louis Gesbert
c393dfb75e CI improvements attempt
- fix dune compilation options: ensure both no dev failure on warnings and CI
  failure on warnings (the defaults do neither of those things !)

- attempt to publish the build artifacts to github-pages, so that they could be
  made more easily available and we could maybe remove the ones that are still
  there from the main repo
2023-02-28 17:55:34 +01:00
adelaett
7d50d89f7a nix build now uses cache 2023-02-24 19:38:50 +01:00
adelaett
93aa6f0922 update CI to run catala's tests 2023-02-24 15:16:23 +01:00
adelaett
c729e6fbf7 update the update flake mecanism to check the tests 2023-02-24 15:09:43 +01:00
Louis Gesbert
54c97d1d0c Fix missing redirect in CI 2022-08-09 16:28:02 +02:00
Louis Gesbert
168d023e25 CI: build js binary without z3 2022-08-09 12:36:37 +02:00
Louis Gesbert
525226e7c6 Github workflow: fix escaping 2022-08-04 21:12:47 +02:00
Louis Gesbert
3ee6fdb254 Automate artifact generation 2022-08-03 22:42:56 +02:00
Louis Gesbert
d02d6f16a5 Github CI: tag Docker images, automatically cleanup non-master ones 2022-08-02 10:00:41 +02:00
Louis Gesbert
b28583fb71 CI: Disable (broken) ubuntu builds
the routine builds on PRs are fine and the issue seems to come from the complex container ubuntu/OCaml setup
2022-07-27 14:41:22 +02:00