Skip to content

Commit

Permalink
Cirrus CI: Fix Ubuntu rolling job
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Dec 1, 2024
1 parent dd45ddb commit 105980d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ environment:

task:
name: Ubuntu rolling x64 shared-libs-only gdmd
# allow failures - gdb v10 came with regressions
allow_failures: true
container:
image: ubuntu:rolling
cpu: 8
Expand All @@ -217,13 +215,23 @@ task:
environment:
CI_ARCH: x86_64
CI_OS: linux
EXTRA_APT_PACKAGES: "gdmd llvm-dev libclang-common-15-dev"
EXTRA_APT_PACKAGES: "gdmd llvm-dev libclang-common-19-dev lld"
EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON -DBUILD_LTO_LIBS=ON -DD_COMPILER=gdmd -DLDC_LINK_MANUALLY=ON"
PARALLELISM: 8
PATH: ${CIRRUS_WORKING_DIR}/../cmake/bin:${CIRRUS_WORKING_DIR}/../ninja:${PATH}
# for gdmd:
LANG: C.UTF-8
<< : *INSTALL_UBUNTU_PREREQUISITES_TEMPLATE
# to get the LTO lit-tests working:
make_lld_the_default_linker_script: |
ln -sf ld.lld /usr/bin/ld
ld --version
disable_tests_script: |
cd $CIRRUS_WORKING_DIR
# FIXME: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)"
rm tests/sanitizers/lsan_memleak.d
# apparently just fails due to extra linker error output
rm tests/dmd/fail_compilation/needspkgmod.d
<< : *COMMON_STEPS_TEMPLATE

task:
Expand Down

0 comments on commit 105980d

Please sign in to comment.