Commit Graph

644 Commits

Author SHA1 Message Date
aquint-zama
3e7644d4d5 chore(issues): update bug issue template
add artifacts instructions

close #129
2021-09-03 14:24:19 +02:00
Arthur Meyre
468686a92f tools: add pytest_nb target to easily test notebooks 2021-09-03 09:58:00 +02:00
Arthur Meyre
ad0a65078f tools: remove serialize_targets.sh which is useless
- use make --keep-going instead
2021-09-01 11:51:54 +02:00
Arthur Meyre
914fb19ebb tools: adapt UTC timezone for package watcher to match Paris Time 2021-09-01 10:38:50 +02:00
Arthur Meyre
3b339b1e88 tools: make sphinx-build warnings errors
- add -W and --keep-going for SPHINXOPTS
- use $(MAKE) for make invocations
- build the docs in the conformance phase as the sphinx build has checks
2021-09-01 10:31:33 +02:00
Arthur Meyre
3c6969f7f4 tools: updated package watcher with helper script 2021-08-31 16:15:03 +02:00
Arthur Meyre
758a5727dc fix: disable the package watcher for now
- I used the wrong date value, will update in a further PR
2021-08-31 11:43:32 +02:00
Arthur Meyre
b9fd9b7b9b fix: bad workflow format 2021-08-31 10:36:42 +02:00
Arthur Meyre
0f2b7f7d2a build: allow docker base image build triggered by API call
- add a polling script to check packages versions regularly and rebuild if
the compiler image is more recent
2021-08-31 10:14:55 +02:00
Arthur Meyre
74f0c9600e fix: update LD_PRELOAD in docker image and workflows 2021-08-30 18:13:55 +02:00
Arthur Meyre
1ebbd3ea91 fix(build): only allow one Docker image build per ref/branch 2021-08-25 16:22:46 +02:00
aquint-zama
0f7f5a302a chore(templates): update issue templates
refers #129
2021-08-25 14:28:52 +02:00
Arthur Meyre
202dffb4a5 Build/env dev docker 127 (#196)
build: add workflow to create HDK env Docker Image

- make bot username a secret
- update Makefile to pull the HDK image
- have a separate Makefile for the dev specific Docker Image needs
2021-08-25 14:09:54 +02:00
Umut
b41029d9c0 refactor(drawing): start using graphviz for visualization 2021-08-25 10:01:20 +03:00
youben11
f948db1228 feat(python): CompilerEngine to compile and run 2021-08-18 17:38:46 +02:00
Arthur Meyre
6d14b4b318 fix(build): manage refs for push events 2021-08-18 09:08:49 +02:00
youben11
788e94bfa3 feat: end to end compilation and execution 2021-08-18 08:08:19 +01:00
Arthur Meyre
63eac35a43 build: launch pcc targets in parallel to speed up checks
- change call in github actions as proper flags are in the Makefile
- change mypy_ci target to avoid cache issues with multiple mypy instances
2021-08-17 18:27:31 +02:00
Umut
553f77f19b chore(ci): implement publishing docs to hdk.zama.ai on push to main 2021-08-17 18:52:27 +03:00
Umut
479176e368 doc(examples): create quantized linear and logistic regression examples 2021-08-16 15:57:18 +03:00
Quentin Bourgerie
e290447389 chore(compiler): Get the concrete capi release 2021-08-13 14:05:29 +02:00
youben11
c58abe6565 chore(ci): add python testing 2021-08-05 13:49:29 +02:00
Arthur Meyre
0baa02549c build(mlir): setup things to use the MLIR/homomorphizer docker image 2021-08-03 16:03:56 +02:00
youben11
59d9844bc2 chore(ci): update registry server url 2021-08-03 14:35:39 +01:00
youben11
89d16bbea7 chore(ci): update to GHCR to store mlir image 2021-08-03 14:23:15 +01:00
youben11
33f5911ac2 chore(ci): build zamalang image on push to master 2021-08-03 14:23:15 +01:00
Quentin Bourgerie
61382b3cdb chore(ci): Fixing mlir-env image to a specific commit since python bidings has been modified 2021-07-29 10:49:09 +02:00
Ayoub Benaissa
ab53ef71c6 feat(compiler): Python bindings (#53)
- feat(compiler): python bindings
- build: update docker image for python bindings
- pin pybind11 to 2.6.2, 2.7 is not having correct include_dirs set (still
a question why?)
- using generated parser/printer
2021-07-28 15:58:51 +01:00
Ayoub Benaissa
812268000c CI: docker image workflow
build and push whenever the docker file has changed. Push with two tags, latest, and commit's hash
2021-07-22 15:32:44 +02:00
Arthur Meyre
94f79f2345 chore(tools): update coverage.sh script 2021-07-22 10:31:51 +02:00
Arthur Meyre
ac31a712ca chore(build): update a CI command to properly call pip 2021-07-22 10:31:51 +02:00
Arthur Meyre
9bf380bfce fix(typo): fix unfortunate typos 2021-07-19 16:32:53 +02:00
Arthur Meyre
36d93a60d9 chore(tools): add mypy as dev tool but don't check in CI for now
- we'll see if the benefits of static typing are worth it or not
2021-07-19 16:25:24 +02:00
Arthur Meyre
ef78e66241 build(coverage): add comment to PR with diff-cover output
- add script to help format the coverage comment
- manage steps logic

refs #15
2021-07-16 12:25:10 +02:00
Arthur Meyre
7dccfa649c build(tests): add tests and coverage to CI workflow
#refs 15
2021-07-16 12:25:10 +02:00
aquint-zama
ae992e4cdc docs: move to sphinx
relates #15
2021-07-15 16:56:53 +02:00
Arthur Meyre
e45cd6cc86 build: add github actions workflow for PR checks
refs #15
2021-07-15 15:31:53 +02:00
Arthur Meyre
ae2041202f chore: add github issue templates 2021-07-15 10:55:22 +02:00
Andi Drebes
cef0e569d4 fix(compiler): Generate and include autogenerated dialect definitions (#52)
* fix(compiler): Generate and include autogenerated dialect definitions

Since commit 485cc55edfb875628e19bb6d9de4706af2865d3e in llvm-project,
dialects are now required to include a file with autogenerated
definitions. This commit generates the definition files and includes
them in appropriate dialect source files for MidLFHE and HLFHE.

* CI: update docker image ref

Co-authored-by: Andi Drebes <andi.drebes@zama.ai>
Co-authored-by: Ayoub Benaissa <ayoub.benaissa@zama.ai>
2021-07-08 15:54:10 +01:00
Quentin Bourgerie
d489f91f7d chore(compiler/ci): Update mlir image 2021-06-23 10:07:16 +02:00
Quentin Bourgerie
b948c5c6a5 chore(compiler): Actions for build and test compiler 2021-06-16 14:31:21 +02:00
Andi Drebes
5167781e44 ci(compiler): Add option --fix to lint_cpp.sh
Add an option `--fix` to `lint_cpp.sh` advising `clang-tidy` to apply
suggested fixes.
2021-06-11 10:45:00 +02:00
Andi Drebes
bf101e5147 ci(compiler): Add script for C++ linting
Add script `.github/workflows/scripts/lint_cpp.sh` that runs
`clang-tidy` with the right parameters to limit checks to source files
not generated automatically.

The script must be run from within the build directory as it relies on
`compiler_commands.json` and `CMakeFiles/CMakeDirectoryInformation.cmake`.
2021-06-08 14:26:42 +02:00
Ayoub Benaissa
eef82a4713 style(compiler): c++ formatting with github action (#22)
* style(compiler): c++ formatting with github action

* style(compiler): update format script
2021-06-04 09:18:14 +02:00