From ea5a4d6e5c1abb2e472bda1fc582b1a251edb523 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 12 Nov 2024 20:31:19 +0000 Subject: ci: Build with --otel on dev distros This just builds the OTEL stuff for the Fedora Rawhide and Alpine Edge distributions. If we ever get test cases covering OTEL we can figure out the best way to do it in the ci.yaml, but right now I don't see the point in building OTEL in every test configuration there... Signed-off-by: Andrew Clayton --- .github/workflows/ci-dev-distro-compiler.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-dev-distro-compiler.yaml b/.github/workflows/ci-dev-distro-compiler.yaml index 8b7f53b7..838b4243 100644 --- a/.github/workflows/ci-dev-distro-compiler.yaml +++ b/.github/workflows/ci-dev-distro-compiler.yaml @@ -39,7 +39,8 @@ jobs: which wget git gcc make pcre2-devel openssl-devel \ python-unversioned-command python3 python3-devel \ php-devel php-embedded perl-devel perl-ExtUtils-Embed \ - ruby-devel java-devel nodejs-devel nodejs-npm golang + ruby-devel java-devel nodejs-devel nodejs-npm golang \ + cargo rust if [ "${{ matrix.compiler }}" = "clang" ]; then dnf -y install --setopt=install_weak_deps=False clang fi @@ -50,9 +51,9 @@ jobs: - name: configure unit CC=${{ matrix.compiler }} run: | if [ "${{ matrix.compiler }}" = "clang" ]; then - ./configure --openssl --cc=clang + ./configure --openssl --otel --cc=clang else - ./configure --openssl + ./configure --openssl --otel fi - name: make unit @@ -128,7 +129,8 @@ jobs: run: | apk update && apk upgrade apk add gcc make musl-dev openssl-dev pcre2-dev curl \ - php83-dev php83-embed python3-dev perl-dev ruby-dev openjdk21-jdk + php83-dev php83-embed python3-dev perl-dev ruby-dev \ + openjdk21-jdk cargo rust if [ "${{ matrix.compiler }}" = "clang" ]; then apk add clang fi @@ -138,9 +140,9 @@ jobs: - name: configure unit CC=${{ matrix.compiler }} run: | if [ "${{ matrix.compiler }}" = "clang" ]; then - ./configure --openssl --cc=clang + ./configure --openssl --otel --cc=clang else - ./configure --openssl + ./configure --openssl --otel fi - name: make unit -- cgit