gitlab: Add clang build.

This commit is contained in:
Jacek Caban 2023-11-30 00:20:29 +01:00 committed by Alexandre Julliard
parent d815623bf6
commit 6efee4baf1
3 changed files with 21 additions and 0 deletions

13
tools/gitlab/build-clang Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
echo "Building $(git log -1)"
echo "---"
set -Eeuxo pipefail
./tools/make_requests
./tools/make_makefiles
autoreconf -f
./configure -q --enable-archs=i386,x86_64,aarch64 --with-mingw=clang
make -s -j$(nproc)

View file

@ -39,6 +39,13 @@ build-linux:
- git diff --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA | sed -re '/\/tests\//!d; s@/tests/.*@/tests/Makefile.in@' |
(xargs -r ls 2>/dev/null || true) | xargs -r sed '/TESTDLL/!d; s@.dll@@; s@.*= *@@' >usr/local/share/wine/winetest.args
build-clang:
extends: .wine-build
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
script:
- ./tools/gitlab/build-clang
build-mac:
extends: .wine-build
rules:

View file

@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y gcc gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 gcc-multilib \
llvm clang lld \
git autoconf flex bison perl gettext \
libasound2-dev:amd64 libasound2-dev:i386 \
libcapi20-dev:amd64 libcapi20-dev:i386 \