summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Enable all "integer" sanitizersNick Wellnhofer2023-03-121-1/+1
|
* malloc-fail: Fix use-after-free in xmlParseStartTag2Nick Wellnhofer2023-01-241-1/+3
| | | | | | Fix error handling in xmlCtxtGrowAttrs. Found with libFuzzer, see #344.
* CI: disable modules in gcc:static buildRoss Burton2022-12-061-1/+1
| | | | | | When shared libraries are disabled we can't build loadable modules either, so the testModule test can't work as the testdso.la target doesn't build a module.
* gitlab-ci: Treat compiler warnings as errors on MSVCNick Wellnhofer2022-11-221-0/+1
|
* gitlab-ci: Upgrade image to Ubuntu 22.10, reenable MSanNick Wellnhofer2022-10-251-4/+4
| | | | | MSan and 64-bit stat was broken on Ubuntu 22.04 (glibc >= 2.33, LLVM <= 14), see https://github.com/llvm/llvm-project/commit/1f82d0f7
* gitlab-ci: Reenable LeakSanitizerNick Wellnhofer2022-10-251-2/+2
| | | | Let's hope it works on the asan runners.
* gitlab-ci: Fix llvm-symbolizerNick Wellnhofer2022-10-251-0/+1
| | | | | | | | Newer versions of llvm-symbolizer require libxml2 themselves. Running a test program with LD_LIBRARY_PATH set to .libs makes llvm-symbolizer pick up the tested development version of libxml2 which breaks completely if the build is instrumented with ASan. Add a wrapper script that invokes llvm-symbolizer with an empty LD_LIBRARY_PATH.
* gitlab-ci: Allow cast-align warnings from clangNick Wellnhofer2022-09-091-0/+2
|
* autotools: Fix winsock detectionNick Wellnhofer2022-09-071-2/+8
| | | | | | | Hardcode the required library on MinGW because winsock uses non-standard calling conventions on 32-bit Windows which makes AC_SEARCH_LIBS fail. Should fix #406.
* gitlab-ci: Move MSVC test to separate scriptNick Wellnhofer2022-09-061-25/+1
|
* gitlab-ci: Fix SUFFIX, remove MINGW_PATHNick Wellnhofer2022-09-061-16/+10
|
* gitlab-ci: Consolidate CMake test scriptsNick Wellnhofer2022-09-061-30/+20
|
* gitlab-ci: Only install MinGW autotools if neededNick Wellnhofer2022-09-061-1/+1
|
* gitlab-ci: Only install cmake MinGW package if neededNick Wellnhofer2022-09-061-1/+1
| | | | | | | On MinGW, cmake requires curl which requires nghttp2 which requires libxml2. But having a system libxml2 interferes with the Python tests for now. Ultimately, we should use Python's os.add_dll_directory() on Windows. I'm not sure why the current solution using PATH even works.
* gitlab-ci: Install 7-Zip using the .msiNick Wellnhofer2022-09-061-3/+0
| | | | So we don't need cmake to extract a file.
* gitlab-ci: Disable MSan for nowNick Wellnhofer2022-09-051-1/+2
| | | | MSan seems broken on Ubuntu 22.04.
* Use $MSYSTEM and 'bash -lc' in MinGW CINick Wellnhofer2022-09-041-11/+12
| | | | | | | Setting the $MSYSTEM environment variable and invoking shell scripts with 'bash -lc' sets up the correct MinGW environment. See https://www.msys2.org/docs/ci/
* Add CI job for MinGW/AutotoolsNick Wellnhofer2022-09-041-0/+36
|
* Consolidate CI scriptsNick Wellnhofer2022-09-041-32/+10
|
* Allow empty MINGW_PACKAGE_PREFIXNick Wellnhofer2022-09-041-13/+13
|
* Move Dockerfile to .gitlab-ci directoryNick Wellnhofer2022-09-041-16/+0
|
* cmake: Don't check for Python 2Nick Wellnhofer2022-09-041-1/+0
|
* Revert "CI job for MingW64/Autotools"Nick Wellnhofer2022-09-041-43/+0
| | | | This reverts commit 6bfebf4d5886bd5f2a3979ceedc27ebd6c3c5009.
* CI job for MingW64/AutotoolsNick Wellnhofer2022-09-041-0/+43
|
* cmake: Enable GCC compiler warningsNick Wellnhofer2022-09-021-2/+2
|
* Migrate from PyEval_ to PyObject_Nick Wellnhofer2022-08-291-2/+1
| | | | | | PyEval_ functions are deprecated. Fixes #208.
* Work around strange -fsanitize=integer issueNick Wellnhofer2022-08-261-1/+1
| | | | | | | | | | With clang 14, __attribute__ ((nosanitize)) stops working with -fsanitize=undefined,integer Using the following works (and should be equivalent) -fsanitize=undefined,unsigned-integer-overflow,implicit-conversion
* Allow Python deprecation warnings for nowNick Wellnhofer2022-08-261-1/+2
| | | | See #208.
* Build Autotools CI tests out of source tree (VPATH)Nick Wellnhofer2022-04-211-1/+4
|
* Add --with-minimum build to CI testsNick Wellnhofer2022-04-211-1/+9
|
* Add configuration flag for XPointer locations supportNick Wellnhofer2022-04-211-6/+4
| | | | | | | | | | | | | | | | | | | | | Add a new configuration flag that controls whether the outdated support for XPointer locations (ranges and points) is enabled. --with-xptr-locs # Autotools LIBXML2_WITH_XPTR_LOCS # CMake The latest spec for what it essentially an XPath extension seems to be this working draft from 2002: https://www.w3.org/TR/xptr-xpointer/ The xpointer() scheme is listed as "being reviewed" in the XPointer registry since at least 2006. libxml2 seems to be the only modern software that tries to implement this spec, but the code has many bugs and quality issues. The flag defaults to "off" and support for this extensions has to be requested explicitly. The relevant API functions are deprecated.
* Also build CI tests with -WerrorNick Wellnhofer2022-04-131-1/+1
|
* Run CI tests with FTP and legacy modulesNick Wellnhofer2022-04-131-3/+5
| | | | These modules are disabled by default. Enable them when testing.
* Add CI job for static buildNick Wellnhofer2022-04-031-0/+6
|
* Fix GitLab pages jobNick Wellnhofer2022-04-021-1/+1
|
* Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindingsDavid Seifert2022-03-291-3/+1
| | | | | | | | | | | * `AM_PATH_PYTHON` is a much more common idiom for building and installing python modules than writing your own. * It also makes cross-compiling the python bindings possible. Previously the `PYTHON_CFLAGS`/`PYTHON_LIBS` would have been based on the `--build` python and not the `--host` python. By using `pkg-config`, we can always redirect the python-X.Y.pc. Bug: https://bugs.gentoo.org/582130
* Make examples a standalone HTML pageNick Wellnhofer2022-03-051-0/+2
| | | | Also upload to GitLab Pages.
* Try again to only build GitLab Pages on main repoNick Wellnhofer2022-02-121-1/+1
|
* Try again to only build GitLab Pages on main repoNick Wellnhofer2022-02-121-1/+1
|
* Only build GitLab Pages on main repoNick Wellnhofer2022-02-121-1/+1
|
* Upload documentation to GitLab pagesNick Wellnhofer2022-02-121-0/+13
|
* Run CI tests with UBSan implicit-conversion checksNick Wellnhofer2022-01-251-1/+1
| | | | | | | | | | | This enables the remaining checks from the "integer" group: - implicit-unsigned-integer-truncation - implicit-signed-integer-truncation - implicit-integer-sign-change These checks can find all kinds of bugs and only require explicit casts if integer truncation or sign change is really intended.
* Only run a few CI tests unless scheduledNick Wellnhofer2021-02-221-0/+24
| | | | | | | | | Only run the following tests by default - gcc - clang:asan - cmake:mingw:w64-x86_64:shared - cmake:msvc:v141:x64:shared
* Add CI for MSVC x86Markus Rickert2021-02-211-0/+17
|
* Add CI for CMake on MSVCMarkus Rickert2021-02-081-1/+66
|
* Require dependencies based on enabled CMake optionsMarkus Rickert2020-11-301-1/+8
|
* Add CI for CMake on Linux and MinGWMarkus Rickert2020-11-301-3/+112
|
* Add CI test for Python 3Nick Wellnhofer2020-11-191-1/+8
|
* Update GitLab CI containerNick Wellnhofer2020-06-111-2/+4
|
* Disable LeakSanitizerNick Wellnhofer2020-03-021-0/+2
| | | | | | | | The GitLab runner doesn't run in privileged mode anymore [1], at least for projects outside the GNOME group. Disable LeakSanitizer for now as it needs the ptrace capability. [1] https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/251