Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add zeromq tests #16595

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion zeromq.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Generated from https://git.alpinelinux.org/aports/plain/main/zeromq/APKBUILD
package:
name: zeromq
version: 4.3.5
Expand Down Expand Up @@ -55,6 +54,34 @@ subpackages:
runtime:
- zeromq
description: zeromq dev
test:
environment:
contents:
packages:
- gcc
- glibc-dev
- zeromq-dev
- pkgconf
- libsodium-dev
pipeline:
- runs: |
cat << 'EOF' > test_zeromq.c
#include <assert.h>
#include <zmq.h>

int main()
{
zmq_msg_t query;
assert(0 == zmq_msg_init_size(&query, 1));
return 0;
}
EOF
gcc -o test_zeromq test_zeromq.c -lzmq
./test_zeromq
- runs: |
# Ensure pkg-config can find libzmq
pkg-config libzmq --cflags
pkg-config libzmq --libs

- name: zeromq-doc
pipeline:
Expand Down
Loading