summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-11-12 20:31:19 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-12-05 21:57:50 +0000
commitea5a4d6e5c1abb2e472bda1fc582b1a251edb523 (patch)
tree29f46f0889dde0138cf452e40d3fcc9a9bfe7837
parent1dfe5bb00a553d75cf74b10873caf43015aab201 (diff)
downloadunit-ea5a4d6e5c1abb2e472bda1fc582b1a251edb523.tar.gz
unit-ea5a4d6e5c1abb2e472bda1fc582b1a251edb523.tar.bz2
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 <a.clayton@nginx.com>
-rw-r--r--.github/workflows/ci-dev-distro-compiler.yaml14
1 files 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