7 autoconf automake device-mapper-devel gcc gettext-devel json-c-devel
8 libblkid-devel libpwquality-devel libselinux-devel libssh-devel libtool
9 libuuid-devel make popt-devel libsepol-devel nc openssh-clients passwd
10 pkgconfig sharutils sshpass tar uuid-devel vim-common device-mapper
11 expect gettext git jq keyutils openssl-devel openssl gem > /dev/null 2>&1
12 - sudo gem install asciidoctor
13 - sudo -E git clean -xdf
15 - ./configure --enable-fips --enable-pwquality --with-crypto_backend=openssl --enable-asciidoc
19 test-main-commit-rhel8:
21 - .rhel-openssl-backend
28 RUN_SSH_PLUGIN_TEST: "1"
30 - if: $RUN_SYSTEMD_PLUGIN_TEST != null
32 - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
34 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
37 - make -j -C tests check-programs
40 test-main-commit-rhel9:
42 - .rhel-openssl-backend
49 RUN_SSH_PLUGIN_TEST: "1"
51 - if: $RUN_SYSTEMD_PLUGIN_TEST != null
53 - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
55 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
58 - make -j -C tests check-programs
63 test-main-commit-rhel8-fips:
65 - .rhel-openssl-backend
72 RUN_SSH_PLUGIN_TEST: "1"
74 - if: $RUN_SYSTEMD_PLUGIN_TEST != null
76 - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
78 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
80 - fips-mode-setup --check || exit 1
82 - make -j -C tests check-programs
85 test-main-commit-rhel9-fips:
87 - .rhel-openssl-backend
95 RUN_SSH_PLUGIN_TEST: "1"
97 - if: $RUN_SYSTEMD_PLUGIN_TEST != null
99 - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
101 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
103 - fips-mode-setup --check || exit 1
105 - make -j -C tests check-programs