aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2020-09-02ConfigureChecks.cmake: Disable HAVE_DSA by default (when mbedTLS is not enabled)Sahana Prasad1-6/+8
Ensure that it is not possible to enable it back with mbedTLS Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2020-04-20gitlab-ci: Avoid passing artifacts between completely unrelated stagesJakub Jelen1-0/+2
The introduction of stages in gitlab-ci had quite a unfortune side effect that is described in the documentation [1]. The whole artifacts path (in our case obj/) is passed from one stage to another by default, which is causing very odd behavior as the previous results are only partially overwritten by the new cmake command and can even lead to execution of tests that are not supposed to run in particular job. [1] https://docs.gitlab.com/ee/ci/yaml/#dependencies Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2020-04-20gitlab-ci: Fix typoJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2020-03-30gitlab-ci: Add Coverity ScanAndreas Schneider1-0/+37
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-03-30gitlab-ci: Add stagesAndreas Schneider1-0/+12
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-03-30gitlab-ci: Use variables so we can keep before_scriptAndreas Schneider1-150/+133
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-03-30gitlab-ci: Remove the tumbleweed docs buildAndreas Schneider1-7/+0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-03-30gitlab-ci: Add a simple fedora build and docs buildAndreas Schneider1-0/+10
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-03-30gitlab-ci: Add a build templateAndreas Schneider1-5/+17
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-01-24gitlab-ci: Improve setting Fedora to FIPS modeAndreas Schneider1-1/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2020-01-20gitlab-ci: Create obj directory for Windows buildsAnderson Toshiyuki Sasaki1-2/+4
The obj directory is not created anymore when the git repository is cloned. Create the directory during the build. Also set the variable "ErrorActionPreference: STOP" to make the build to fail if an error occurs. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2020-01-09gitlab-ci: Re-enable client testing on TumbleweedAndreas Schneider1-3/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-23gitlab-ci: Unbreak Freebsd buildJakub Jelen1-0/+2
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-12-23gitlab-ci: Add csbuilds for gcrypt and mbedtlsJakub Jelen1-0/+21
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-12-23gitlab-ci: Simplify the targets definitions using inheritanceJakub Jelen1-326/+187
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-12-23gitlab-ci: Add Ubuntu target (based on Fedora one)Jakub Jelen1-0/+24
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-12-20gitlab-ci: adds the PKCS11 URI option to build optionsSahana Prasad1-1/+2
Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-11-08gitlab-ci: Make sure we have enough git commits for csbuildAndreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-11-07gitlab-ci: Disable client testing as pam_wrapper is broken on TWAndreas Schneider1-5/+5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2019-11-04gitlab-ci: Mips is deadAndreas Schneider1-28/+0
Debian removed the cross compiling toolchain. So lets drop it. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-09-24gitlab-ci: Move cmake from prep to build command in csbuildAnderson Toshiyuki Sasaki1-2/+1
This is required to avoid csbuild scan failures when a commit removes source files. The command prep is run only once before all the builds, making csbuild to try to compile the old files using the configuration files generated for the newest version. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-08-08gitlab-ci: Turn DEBUG_CRYPTO on for standard crypto lib buildsAndreas Schneider1-2/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-15gitlab-ci: Test installation at least on one runnerAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2019-07-08gitlab-ci: Run the fuzzer with AddressSanitzerAndreas Schneider1-3/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-04gitlab-ci: Enable building the ssh_server_fuzzer with clangAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2019-06-26gitlab-ci: Re-enable client tests in CentOS7Anderson Toshiyuki Sasaki1-2/+2
The tests were disabled because of failures in torture_auth. The server tests are not enabled because the pkd tests are failing. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-06-13.gitlab-ci.yml: Add FIPS testsJakub Jelen1-0/+23
Added a build running in a Fedora image with crypto-policies set as FIPS and forcing OpenSSL FIPS mode through environment variable. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-06-12gitlab-ci: Remove cmake cache before building in csbuildAnderson Toshiyuki Sasaki1-1/+1
This avoids csbuild failures due to new source files added. Previously in some runs, csbuild would try to reuse the existing cmake cache file which could contain added dependencies to new source files, leading to failure in the run. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-06-12gitlab-ci: Do not print crypto debug infoAnderson Toshiyuki Sasaki1-1/+1
Do not print crypto debug information to reduce size of generated logs. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-02-07Allow building without Group Exchange supportJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-27gitlab-ci: Enable DEBUG build options on FedoraAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-25gitlab-ci: Add (disabled) target with MemorySanitizerAndreas Schneider1-0/+22
We can't enable this till we can ignore OpenSSL. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-25gitlab-ci: Fix UndefinedSanitizerAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-09gitlab-ci: Disable debian cross mips runnerAndreas Schneider1-1/+1
This runner always times out. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-09gitlab-ci: Run the Windows machines for me tooJakub Jelen1-0/+2
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-12-19gitlab-ci: Build with blowfish cipher support on fedoraAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2018-12-12gitlab-ci: Add minimal buildAndreas Schneider1-0/+19
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-11-30gitlab-ci: Fix csbuild to run latest 20 commitsAndreas Schneider1-2/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-11-30gitlab-ci: Added builds for native WindowsAnderson Toshiyuki Sasaki1-0/+53
This uses a runner configured with the tag "vs2017 or windows". Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-11-23gitlab-ci: If there is not old sha check last 20 commitsAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-10-24gitlab-ci: Add static analysis with csbuildAndreas Schneider1-0/+31
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-10-24gitlab-ci: Fix -DWITH_PCAP=ONAndreas Schneider1-15/+15
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-27gitlab-ci: Report errors on debianAndreas Schneider1-2/+3
2018-09-27gitlab-ci: Get build and test errors from mingwAndreas Schneider1-10/+8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-26gitlab-ci: Use -DCMAKE_BUILD_TYPE=UndefinedSanitizerAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-10gitlab-ci: Add builds with gcc7Andreas Schneider1-0/+42
It looks like gcc7 has more warning enabled or something is broken in gcc8. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-10gitlab-ci: Big cleanupAndreas Schneider1-72/+52
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-01gitlab-ci: Correctly run AddressSanitizer with cmakeAndreas Schneider1-2/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-01gitlab-ci: Enable address sanitzer buildAndreas Schneider1-2/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-08-31gitlab-ci: Move tumbleweed to the end of the fileAndreas Schneider1-73/+74
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>