Commit Graph

31 Commits

Author SHA1 Message Date
Louis Gesbert
a6911a4cd5 Cheat-sheet: remove need for exotic latex package
And add required latex fonts
2024-06-27 17:01:55 +02:00
Louis Gesbert
153a029b34 Adjust CI for newer alpine 2024-06-27 10:08:18 +02:00
Louis Gesbert
caf9135b4e Fix CI script (3)
The `-C` option in Alpine's `tar` doesn't work.
The `--strip-components` only affects extraction and it isn't specified.
2024-05-15 16:20:27 +02:00
Louis Gesbert
ac37d50d8c Fix CI script (2) 2024-05-15 14:52:02 +02:00
Louis Gesbert
88d7013253 Fix CI script 2024-05-15 13:41:59 +02:00
Louis Gesbert
56328fec16 CI: publish packed website artifacts alongside the rest 2024-05-15 11:52:23 +02:00
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