Commit Graph

76 Commits

Author SHA1 Message Date
Mayeul@Zama
ba100596da chore(CI): update KeySetCache 2022-03-15 18:14:35 +01:00
Mayeul@Zama
a94b6fcabe style: check tests format in the CI 2022-03-10 14:38:19 +01:00
youben11
1dd8cfaf48 ci: remove tests from macos job on PRs
even when using the cache, the macos job on PR takes a lot of time, due
to the hardware limitations causing execution to take so much time. So
instead, we limit the macos job to the build to make sure it can
compile, and only run the tests for macos on push events
2022-03-08 12:13:25 +01:00
youben11
e45835378f fix: use github.sha in key of compilation cache
GITHUB_SHA seems to be empty for push events
2022-03-07 17:36:56 +01:00
youben11
67e90eb498 fix: correct cache keys 2022-03-07 15:46:41 +01:00
youben11
4e0d7f8b0b fix: change to concrete_internal in macos release 2022-03-07 10:16:37 +01:00
youben11
965fc997e8 ci: cache concretelib build output
caching concretelib build will reduce the overall testing time for MacOS
which currently takes ~15mn only to build concretelib
2022-03-04 10:00:46 +03:00
youben11
a5f6146b4f ci: enable macos tests on PRs (with ccache) 2022-03-04 10:00:46 +03:00
rudy
8b71e9d476 feat(Clientlib): separate client encryption and server computation
Resolve #200
2022-02-24 15:50:18 +01:00
Quentin Bourgerie
c4712151d8 chore(ci): Fix macos build 2022-02-17 16:51:27 +01:00
Quentin Bourgerie
2fb9c4fe0f chore(ci): Reuse the latest docker image since the bufferized API is now on latest image 2022-02-17 16:51:06 +01:00
Quentin Bourgerie
9df379d72b chore(ci): Refresh keyset cache 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
11277e3366 chore(ci): Fix the concrete project reference 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
f69df2c68e chore(ci): Build from the bufferized-env-base docker image to have the new bufferized c api 2022-02-17 15:53:23 +01:00
Quentin Bourgerie
e0bff49dad chore(ci): Change base image for Concrete C API to Concrete compiler C API 2022-02-17 15:53:23 +01:00
rudy
d41a7f0b68 fix(doc): doc generation segfaults
Doing the doc generation with more up to date version works.
2022-02-14 14:22:30 +01:00
youben11
afd5972a13 fix: use correct token and quote passwords 2022-01-25 17:52:51 +01:00
youben11
d54339c06d ci: add workflow to push python packages 2022-01-25 16:43:44 +01:00
youben11
6d3af7fcda chore: add installation targets in Makefile
MacOS require a way to find the runtime library when trying to build a
shared library at runtime, so we add a way to install it globally for
testing
2022-01-24 17:02:25 +00:00
youben11
ff73d09f65 ci: use AppleClang for MacOS build 2022-01-24 17:02:25 +00:00
Antoniu Pop
87994d000e ci(perf) : build gcc7.5 in separate image. 2022-01-19 21:49:47 +00:00
Antoniu Pop
25116ec979 ci/release: upgrade python packages release image to gcc-7.5.0 2022-01-19 21:49:47 +00:00
Mayeul@Zama
8847e82203 fix(doc): build mlir docs earlier 2022-01-17 16:26:06 +01:00
Andi Drebes
8d7cbbb934 fix(CI): Install pytest for job BuildAndTestMacOS
The CI job `BuildAndTestMacOS` currently fails due to an unsatisfied
dependency to `pytest`. Install `pytest` via `pip3`.
2022-01-11 14:30:12 +01:00
Quentin Bourgerie
86b942a444 chore(doc): Build doc and publish doc on master and tags 2022-01-06 18:07:19 +01:00
youben11
fcf5ee05d5 chore: rename docker images
use concrete-compiler instead of concretefhe-compiler
2022-01-06 12:40:10 +01:00
youben11
d96d2506ee fix: remove org name in release api URL
org name is already part of github.repository
2022-01-06 12:40:10 +01:00
youben11
2009ee1c94 chore: changing ref to repo after its renaming
also formatting and update the check_license script to match that
2022-01-06 12:40:10 +01:00
youben11
d1fef75aea fix: change api link after repo renaming 2022-01-04 20:16:44 +01:00
youben11
63e96e2674 ci: use gcc and test build on macos 2022-01-04 20:16:44 +01:00
rudy
0f1dbd919d fix(format_cpp): More robust error reporting 2022-01-03 17:58:01 +01:00
youben11
c276e13d97 chore(python): add namespace init file 2022-01-03 15:27:24 +01:00
youben11
1183c9dc94 fix(ci): fix formatting script
seems like big diffs weren't catched. Now we use ifne which checks if
the stdin isn't empty
2022-01-03 09:29:19 +01:00
youben11
e3ae6e9c06 ci: check if sources include license header 2022-01-03 09:29:19 +01:00
youben11
e73291abdc chore: rename compiler to concrete-compiler
zamalang => concretelang
zamacompiler => concretecompiler
2021-12-29 15:13:34 +01:00
Antoniu Pop
23d3dca3f2 formatting(dfr): add .hpp to the formatting script and format the relevant files. 2021-12-23 15:57:53 +00:00
Antoniu Pop
e429180179 fix(ci): enable key caching for DF testing. 2021-12-22 18:22:22 +01:00
youben11
a32d73fb4e test(ci): test final python packages after release 2021-12-22 18:22:22 +01:00
youben11
62b417a373 refactor(ci): unify workflows into a single one
Having a single workflow make it easier to have dependencies between
jobs, like release and docker image being dependant of the tests job
2021-12-22 18:22:22 +01:00
youben11
2e5bff93fd ci: check if there are commits to squash
we can then configure github to never merge when this doesn't pass
2021-12-17 08:46:38 +01:00
youben11
acf91c78a7 fix(ci): disable release worflow run on master with no tag
There were both runs of release for master and the tag push, so we now
match the tag push
2021-12-16 11:43:28 +01:00
youben11
319cc3fd28 fix(python): copy dynamic library into macos wheel 2021-12-16 09:15:25 +01:00
youben11
b812f6f7f2 feat(python): version python package from git tag
automatic detection of version from git tag and update of the python
version file
2021-12-16 09:15:25 +01:00
youben11
a94e05e85b ci: release mac
improve current workflow: more parallelism and factoring of steps with
matrix
2021-12-16 09:15:25 +01:00
youben11
6c1800048a ci: test on gcc6.3 2021-12-13 16:35:56 +01:00
Antoniu Pop
bb44124999 feat(dfr): add the DFR (DataFlow Runtime). 2021-12-08 18:35:29 +00:00
youben11
5773310215 feat(ci): release on tag pushed (linux only)
The release workflow should, whenever a tag is pushed,
create a draft release on github (that should be manually
checked by one of us to make the actual release).
The release should contain wheels for python 3.8, 3.9, and 3.10,
as well as a tarball containing the zamacompiler and required
libraries (and installation guide is provided).
The draft release will also have an auto generated release note
that can be modified later.
2021-12-08 17:59:53 +01:00
youben11
4618abcc50 ci: add release workflow
currently only replace one asset from a specific release
2021-12-07 16:14:44 +01:00
Mayeul@Zama
dad4390518 feat(compiler): add a key cache 2021-12-07 12:11:56 +01:00
Andi Drebes
e356b8f797 fix(ci): Conformance test: Abort on failure in any command in the run section
By default, all commands in the `run` section of
`.github/workflows/conformance.yml` are executed, regardless of their
return values and the return value of the last command is used as the
result for the entire flow. Failing test followed by passing tests
thus remain undetected.

This change forces the use of the bash shell and causes it to exit
immediately with a non-zero return value when one of the commands
fails using `set -e`.
2021-11-12 15:05:55 +01:00