intrigeri
09402d2123
CI: don't install unneeded python-all-dev (Python 2)
...
(cherry picked from commit 3c1163825b
)
Fixes: https://gitlab.com/apparmor/apparmor/-/issues/388
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
2024-05-02 10:28:21 -03:00
John Johansen
d8bb0435c2
Merge makefiles: test for support of flto-partition flag
...
Test for compiler support of "-flto-partition=none" flag before passing
it.
Fixes: https://gitlab.com/apparmor/apparmor/-/issues/310
Closes #310
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1155
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
(cherry picked from commit 95d9ba8d8b
)
Fixup Merge conflict in .gitlab-ci.yml
Signed-off-by: John Johansen <john.johansen@canonical.com>
2024-02-24 19:34:48 -08:00
Georgia Garcia
ab4cfb5e84
replace deprecated distutils with setuptools
...
Adds python3 setuptools as a build dependency for libapparmor
Fixes: https://gitlab.com/apparmor/apparmor/-/issues/202
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/813
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
Acked-by: Christian Boltz <apparmor@cboltz.de>
(cherry picked from commit 21e5a721ab
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
2021-11-11 21:30:41 -08:00
Christian Boltz
2c5d3cb381
CI: Drop specifying python and pyflakes version
...
Since https://gitlab.com/apparmor/apparmor/-/merge_requests/482
python 3.x will be used by default (as the only python version),
which makes it superfluous to explicitely specify it.
2020-04-20 13:28:09 +02:00
Christian Boltz
07a15d651a
run "make -C profiles check-abstractions.d" in ci
...
... to make sure we notice missing
#include if exists <$abstraction_name.d/>
2020-01-27 20:43:55 +01:00
Christian Boltz
b3020dfaf5
CI: cat config.log if libapparmor configure fails
...
This helped a lot to debug the CI failure caused by
3db14e8e49
/ !430 , and won't add any noise
as long as configure succeeds.
2019-11-27 21:09:32 +01:00
Christian Boltz
6c85836be5
add zlib1g-dev to .gitlab-ci.yml
...
This fixes the CI failures introduced with
3db14e8e49
- either conf('BLDLIBRARY') or
$PYTHON_EXTRA_LIBS introduce a dependency on zlib-dev ("-lz").
2019-11-19 22:52:22 +01:00
Otto Kekäläinen
a74d7cf51c
Re-implement aa-notify in Python ( Closes : #16 )
...
- Code layout based on aa-genprof example
- Extend Python dependencies to cover new need by aa-notify
- Update documentation after aa-notify is no longer in Perl
2019-04-21 18:37:10 +03:00
Steve Beattie
ab94074887
misc: add initial gitlab-ci.yml for running build/tests
...
This commit adds an initial gitlab-ci.yml file to perform test builds
and run tests on each commit.
v2: add liblocale-gettext-perl dependency for parser simple test
v3:
- set noninteractive prompt to avoid debconf queries when installing
packages
- disable profiles test against aa-logprof; even if library and python
path issues are resolved, aa-logprof early aborts due to being
unable to find /sbin/apparmor_parser
Signed-off-by: Steve Beattie <steve.beattie@canonical.com>
Acked-by: Tyler Hicks <tyler.hicks@canonical.com>
PR: https://gitlab.com/apparmor/apparmor/merge_requests/101
2018-05-11 19:02:36 -07:00