Skip to content

Commit 0e7f654

Browse files
authored
Merge pull request #2092 from jan-cerny/gating_nss
Build and test with NSS crypto back end
2 parents 4495906 + 01a4ba7 commit 0e7f654

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,29 @@ jobs:
7373
export $(dbus-launch)
7474
ctest --output-on-failure
7575
76+
build-fedora-nss:
77+
name: Build with NSS, Test on Fedora Latest (Container)
78+
runs-on: ubuntu-latest
79+
container:
80+
image: fedora:latest
81+
steps:
82+
- name: Install Deps
83+
run: dnf install -y cmake git dbus-devel GConf2-devel libacl-devel libblkid-devel libcap-devel libcurl-devel nss-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel pcre2-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel python3-dbusmock rpm-devel swig bzip2-devel gcc-c++ libyaml-devel xmlsec1-devel xmlsec1-openssl-devel hostname bzip2 lua rpm-build which strace python3-pytest
84+
- name: Checkout
85+
uses: actions/checkout@v3
86+
with:
87+
submodules: recursive
88+
- name: Build
89+
working-directory: ./build
90+
run: |
91+
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_PCRE2=True -DWITH_CRYPTO=nss ../
92+
make all
93+
- name: Test
94+
working-directory: ./build
95+
run: |
96+
export $(dbus-launch)
97+
ctest --output-on-failure
98+
7699
build-macos:
77100
# The type of runner that the job will run on
78101
name: Build, Test on macOS Latest

0 commit comments

Comments
 (0)