Skip to content

Commit

Permalink
ci: Build with --otel on dev distros
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ac000 committed Dec 5, 2024
1 parent 1dfe5bb commit ea5a4d6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci-dev-distro-compiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ea5a4d6

Please sign in to comment.