Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:

- job_name: Alpine musl x86_64
os: ubuntu-latest
container_image: alpine:3.21
container_image: alpine:3.23
arch: x86_64
base_cmake_flags: >-
-DLDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=x86_64
-DLLVM_IS_SHARED=OFF
-DLDC_ENABLE_PLUGINS=OFF
-DLDC_DYNAMIC_COMPILE=OFF
# -DCMAKE_EXE_LINKER_FLAGS=-lcurl
# TSan and XRay do not work.
extra_cmake_flags: >-
-DTEST_COMPILER_RT_LIBRARIES="profile;lsan;asan;msan;fuzzer"
Expand All @@ -72,13 +73,14 @@ jobs:

- job_name: Alpine musl aarch64
os: ubuntu-24.04-arm
container_image: alpine:3.21
container_image: alpine:3.23
arch: aarch64
base_cmake_flags: >-
-DLDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=aarch64
-DLLVM_IS_SHARED=OFF
-DLDC_ENABLE_PLUGINS=OFF
-DLDC_DYNAMIC_COMPILE=OFF
# -DCMAKE_EXE_LINKER_FLAGS=-lcurl
extra_cmake_flags: >-
-DTEST_COMPILER_RT_LIBRARIES="profile;lsan;asan;msan;fuzzer"
-DLDC_INSTALL_LTOPLUGIN=OFF
Expand Down Expand Up @@ -157,14 +159,14 @@ jobs:
# set up Alpine container
apk add \
git cmake ninja-is-really-ninja g++ clang ldc lld llvm-dev llvm-static compiler-rt \
libxml2-static zstd-static zlib-static \
libxml2-static zstd-static zlib-static curl-static nghttp2-static \
bash grep diffutils make curl 7zip perl
# create missing 7za symlink
ln -s 7z /usr/bin/7za
# make lld the default linker (note: /usr/bin/ld seems unused)
ln -sf /usr/bin/ld.lld /usr/${{ matrix.arch }}-alpine-linux-musl/bin/ld
# create ../llvm symlink to distro LLVM (no prebuilt LDC-LLVM for musl)
ln -s /usr/lib/llvm19 $(dirname $(pwd))/llvm
ln -s /usr/lib/llvm21 $(dirname $(pwd))/llvm
../llvm/bin/llvm-config --version

# see https://github.com/actions/runner/issues/801#issuecomment-2976165281
Expand Down
Loading