mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
f62e152b10
* fix(rustls) updated tests * we should provide llvm asan
38 lines
No EOL
810 B
YAML
38 lines
No EOL
810 B
YAML
distributable:
|
|
url: https://codeload.github.com/rustls/rustls-ffi/tar.gz/refs/tags/v{{version}}
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: rustls/rustls-ffi/tags
|
|
strip: /v/
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
rust-lang.org/cargo: '*'
|
|
script: |
|
|
cargo install cbindgen
|
|
make DESTDIR={{prefix}}
|
|
make DESTDIR={{prefix}} install
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
openssl.org: '*' # needed for SSL_CERT_FILE
|
|
env:
|
|
ARGS:
|
|
- -lrustls
|
|
linux:
|
|
ARGS:
|
|
- -Wl,--gc-sections
|
|
- -lpthread
|
|
- -ldl
|
|
darwin:
|
|
ARGS:
|
|
- -Wl,-dead_strip
|
|
- -framework Security
|
|
- -framework Foundation
|
|
script: |
|
|
cc client.c common.c -o client $ARGS
|
|
CA_FILE=$SSL_CERT_FILE ./client tea.xyz 443 / |