Jakub Jelen
5d8c346225
ci: Test FIPS mode only on CentOS 8
...
CentOS 9 FIPS mode is too different for this libssh version and Fedora
FIPS mode is not maintained.
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2023-04-28 11:50:19 +02:00
Jakub Jelen
754048b419
ci: Add CentOS 8 and 9 to CI
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2023-04-28 11:50:17 +02:00
Jakub Jelen
c26414972a
ci: Sync VS targets with master
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2023-04-28 11:50:11 +02:00
Jakub Jelen
948bcb773e
.gitlab-ci: Allow failure of windows runners as they are broken
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
(cherry picked from commit 6daa95f9c1 )
2021-08-17 18:33:24 +02:00
Jakub Jelen
64b3e358f9
Enable freebsd runner also for jjelen
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
(cherry picked from commit 592d256a0b )
2021-08-17 18:33:17 +02:00
Andreas Schneider
2422081e55
gitlab-ci: Enable new freebsd runner
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
(cherry picked from commit ae44d846b8 )
2021-08-17 18:32:45 +02:00
Andreas Schneider
a10aeb9490
gitlab-ci: Use shared Windows runners from gitlab
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
(cherry picked from commit 7657994aed )
2021-08-17 16:12:32 +02:00
Anderson Toshiyuki Sasaki
a0aa62fffe
gitlab-ci: Create obj directory for Windows builds
...
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 >
(cherry picked from commit 7f5e14698f )
2020-01-23 09:53:48 +01:00
Andreas Schneider
9b316fe8b9
gitlab-ci: Make sure we have enough git commits for csbuild
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
(cherry picked from commit db632015be )
2019-11-08 15:44:17 +01:00
Andreas Schneider
f0b676a9f0
gitlab-ci: Disable client testing as pam_wrapper is broken on TW
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
(cherry picked from commit fbc2912dde )
2019-11-07 16:14:46 +01:00
Andreas Schneider
8a6ddc0a48
gitlab-ci: Mips is dead
...
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 >
(cherry picked from commit d02c06268e )
2019-11-04 09:48:40 +01:00
Anderson Toshiyuki Sasaki
d7e1141c1e
gitlab-ci: Move cmake from prep to build command in csbuild
...
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 >
(cherry picked from commit 7ffa3c358d )
2019-09-30 16:54:43 +02:00
Andreas Schneider
fd5c598477
gitlab-ci: Turn DEBUG_CRYPTO on for standard crypto lib builds
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
(cherry picked from commit 4799915a36 )
2019-09-30 16:54:27 +02:00
Anderson Toshiyuki Sasaki
79756c5c56
gitlab-ci: Re-enable client tests in CentOS7
...
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 >
(cherry picked from commit d00ff451db )
2019-06-27 09:56:57 +02:00
Jakub Jelen
ddece69a07
.gitlab-ci.yml: Add FIPS tests
...
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-13 16:29:32 +02:00
Anderson Toshiyuki Sasaki
d013a94f37
gitlab-ci: Remove cmake cache before building in csbuild
...
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-12 10:17:54 +02:00
Anderson Toshiyuki Sasaki
adfd3cd3f3
gitlab-ci: Do not print crypto debug info
...
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-06-12 10:17:54 +02:00
Jakub Jelen
fffa66698f
Allow building without Group Exchange support
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2019-02-07 10:30:05 +01:00
Andreas Schneider
5bc7432b10
gitlab-ci: Enable DEBUG build options on Fedora
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2019-01-27 17:47:31 +01:00
Andreas Schneider
6dacc8b26c
gitlab-ci: Add (disabled) target with MemorySanitizer
...
We can't enable this till we can ignore OpenSSL.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2019-01-25 16:08:04 +01:00
Andreas Schneider
e260a591f4
gitlab-ci: Fix UndefinedSanitizer
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2019-01-25 11:36:07 +01:00
Andreas Schneider
fae1ed7ded
gitlab-ci: Disable debian cross mips runner
...
This runner always times out.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2019-01-09 13:15:44 +01:00
Jakub Jelen
851c580cf5
gitlab-ci: Run the Windows machines for me too
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2019-01-09 13:15:44 +01:00
Andreas Schneider
b5f1949480
gitlab-ci: Build with blowfish cipher support on fedora
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2018-12-19 14:57:36 +01:00
Andreas Schneider
0bd404bcbd
gitlab-ci: Add minimal build
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-12-12 18:29:14 +01:00
Andreas Schneider
4282f3c664
gitlab-ci: Fix csbuild to run latest 20 commits
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-11-30 18:52:40 +01:00
Anderson Toshiyuki Sasaki
6d3672911b
gitlab-ci: Added builds for native Windows
...
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-30 18:25:12 +01:00
Andreas Schneider
98487f464b
gitlab-ci: If there is not old sha check last 20 commits
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-11-23 17:30:16 +01:00
Andreas Schneider
2af4e3970e
gitlab-ci: Add static analysis with csbuild
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-10-24 14:30:38 +02:00
Andreas Schneider
1d33a4424d
gitlab-ci: Fix -DWITH_PCAP=ON
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-10-24 09:48:35 +02:00
Andreas Schneider
096d966e43
gitlab-ci: Report errors on debian
2018-09-27 18:06:23 +02:00
Andreas Schneider
3786db4cdf
gitlab-ci: Get build and test errors from mingw
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-27 08:45:41 +02:00
Andreas Schneider
9cf341bad3
gitlab-ci: Use -DCMAKE_BUILD_TYPE=UndefinedSanitizer
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-26 16:55:28 +02:00
Andreas Schneider
983d1189d0
gitlab-ci: Add builds with gcc7
...
It looks like gcc7 has more warning enabled or something is broken in
gcc8.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-10 13:02:40 +02:00
Andreas Schneider
7b2e1c7fb7
gitlab-ci: Big cleanup
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-10 12:02:08 +02:00
Andreas Schneider
bc19f892eb
gitlab-ci: Correctly run AddressSanitizer with cmake
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-01 21:26:48 +02:00
Andreas Schneider
1b12a2415d
gitlab-ci: Enable address sanitzer build
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-09-01 10:21:06 +02:00
Andreas Schneider
1d329236b3
gitlab-ci: Move tumbleweed to the end of the file
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-31 14:18:34 +02:00
Andreas Schneider
0c6544adcb
gitlab-ci: Only run static-analysis on tumbleweed
...
Tumbleweed offers a newer clang version and we don't really have to
waste resources.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-31 14:18:34 +02:00
Andreas Schneider
09a1d95b69
gitlab-ci: Add a clang build on tumbleweed
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-31 14:18:34 +02:00
Andreas Schneider
6162b63d5e
gitlab-ci: Add target to build the docs
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-22 09:08:39 +02:00
Andreas Schneider
140ddf5109
gitlab-ci: Add two builds with optimizations turned on
...
This enables the optimizer and will give use additional compiler
warnings and errors.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-20 18:42:03 +02:00
Andreas Schneider
887908107a
gitlab-ci: Enable PICKY_DEVELOPER
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-20 18:42:03 +02:00
Andreas Schneider
b77fa93551
gitlab-ci: Point openSUSE to its krb5-config
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-08 20:58:23 +02:00
Andreas Schneider
6a077fe750
gitlab-ci: Build with cmake3 on CentOS7
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-08-03 16:43:03 +02:00
Andreas Schneider
d316390825
gitlab-ci: Only enable freebsd runner where it is enabled
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-07-03 15:08:40 +02:00
Andreas Schneider
584c345451
gitlab-ci: Fix mips compilation on debian
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-07-02 09:53:02 +02:00
Andreas Schneider
bfbd574098
gitlab-ci: Add missing debian variable
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-07-02 09:06:42 +02:00
Andreas Schneider
6b8d1aa836
gitlab-ci: Fix path to toolchain file
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-06-30 15:41:50 +02:00
Andreas Schneider
d90b88588f
gitlab-ci: Add 32bit build on openSUSE
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2018-06-30 15:39:27 +02:00