fix(librdkafka)

GHA having issues reading its /releases api endpoint
This commit is contained in:
Jacob Heider 2024-05-07 14:19:44 -04:00 committed by Jacob Heider
parent ebc6f9ac9e
commit 732d41bb8a

View file

@ -3,7 +3,13 @@ distributable:
strip-components: 1 strip-components: 1
versions: versions:
github: confluentinc/librdkafka # wtf? this works locally but not in GHA. we've seen this before...
# github: confluentinc/librdkafka
url: https://api.github.com/repos/confluentinc/librdkafka/releases?per_page=100&page=1
match: '/"tag_name":"v\d+\.\d+\.\d+",/'
strip:
- '/^"tag_name":"v/'
- /",$/
dependencies: dependencies:
lz4.org: '*' lz4.org: '*'
@ -14,22 +20,22 @@ dependencies:
build: build:
dependencies: dependencies:
freedesktop.org/pkg-config: '*'
python.org: ~3.11 python.org: ~3.11
llvm.org: <17 linux:
gnu.org/make: '*' llvm.org: '*'
script: | script:
./configure $ARGS - ./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} - make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install - make --jobs {{ hw.concurrency }} install
env: env:
CC: clang linux:
CXX: clang++ # undefined symbol errors in newer llvms prevent building shared libs
LD: clang LDFLAGS: $LDFLAGS -Wl,--undefined-version
AR: llvm-ar CC: clang
AS: llvm-as CXX: clang++
ARGS: LD: clang
- --prefix="{{prefix}}" AR: llvm-ar
AS: llvm-as
test: test:
dependencies: dependencies: