mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
732d41bb8a
GHA having issues reading its /releases api endpoint
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
distributable:
|
|
url: https://github.com/confluentinc/librdkafka/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
# 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:
|
|
lz4.org: '*'
|
|
zlib.net: '*'
|
|
openssl.org: '^1.1'
|
|
facebook.com/zstd: '*'
|
|
curl.se: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: ~3.11
|
|
linux:
|
|
llvm.org: '*'
|
|
script:
|
|
- ./configure --prefix="{{prefix}}"
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
linux:
|
|
# undefined symbol errors in newer llvms prevent building shared libs
|
|
LDFLAGS: $LDFLAGS -Wl,--undefined-version
|
|
CC: clang
|
|
CXX: clang++
|
|
LD: clang
|
|
AR: llvm-ar
|
|
AS: llvm-as
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script: pkg-config --modversion rdkafka | grep {{version}}
|