Commit 6efee4ba authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gitlab: Add clang build.

parent d815623b
#!/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)
...@@ -39,6 +39,13 @@ build-linux: ...@@ -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@' | - 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 (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: build-mac:
extends: .wine-build extends: .wine-build
rules: rules:
......
...@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \ ...@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
dpkg --add-architecture i386 && \ dpkg --add-architecture i386 && \
apt-get update && \ apt-get update && \
apt-get install -y gcc gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 gcc-multilib \ 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 \ git autoconf flex bison perl gettext \
libasound2-dev:amd64 libasound2-dev:i386 \ libasound2-dev:amd64 libasound2-dev:i386 \
libcapi20-dev:amd64 libcapi20-dev:i386 \ libcapi20-dev:amd64 libcapi20-dev:i386 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment