Skip to content

Commit c00fa5a

Browse files
atheiknamjaejeon
authored andcommitted
ksmbd-tools: github action: fix autobuild with krb5
Signed-off-by: Atte Heikkilä <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
1 parent 2dd245f commit c00fa5a

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

.github/workflows/c-cpp.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,40 @@ jobs:
2424
g++ --version
2525
pip3 install --user meson
2626
PATH=$HOME/.local/bin:$PATH
27-
- name: autotools build with mit krb5
28-
run: |
2927
./autogen.sh
30-
./configure
28+
- name: autotools build without krb5
29+
run: |
30+
mkdir autotools-no-krb5-build
31+
cd autotools-no-krb5-build
32+
../configure
3133
make DISTCHECK_CONFIGURE_FLAGS=--enable-krb5=no distcheck
3234
- name: autotools build with mit krb5
3335
run: |
34-
./autogen.sh
35-
./configure
36+
mkdir autotools-mit-krb5-build
37+
cd autotools-mit-krb5-build
38+
../configure
3639
make DISTCHECK_CONFIGURE_FLAGS="LIBKRB5_CFLAGS='$(krb5-config.mit --cflags)' LIBKRB5_LIBS='$(krb5-config.mit --libs)' --enable-krb5" distcheck
3740
- name: autotools build with heimdal krb5
3841
run: |
39-
./autogen.sh
40-
./configure
42+
mkdir autotools-heimdal-krb5-build
43+
cd autotools-heimdal-krb5-build
44+
../configure
4145
make DISTCHECK_CONFIGURE_FLAGS="LIBKRB5_CFLAGS='$(krb5-config.heimdal --cflags)' LIBKRB5_LIBS='$(krb5-config.heimdal --libs) -lasn1' --enable-krb5" distcheck
4246
- name: meson build without krb5
4347
run: |
44-
mkdir build
45-
cd build
48+
mkdir meson-no-krb5-build
49+
cd meson-no-krb5-build
4650
meson -Dkrb5=disabled ..
4751
meson dist
52+
- name: meson build with mit krb5
53+
run: |
54+
mkdir meson-mit-krb5-build
55+
cd meson-mit-krb5-build
56+
meson -Dkrb5=enabled -Dkrb5_name=mit-krb5 ..
57+
meson dist
58+
- name: meson build with heimdal krb5
59+
run: |
60+
mkdir meson-heimdal-krb5-build
61+
cd meson-heimdal-krb5-build
62+
meson -Dkrb5=enabled -Dkrb5_name=heimdal-krb5 ..
63+
meson dist

0 commit comments

Comments
 (0)