diff --git a/libtool.yaml b/libtool.yaml index df074763481..53d1677e424 100644 --- a/libtool.yaml +++ b/libtool.yaml @@ -55,3 +55,19 @@ update: enabled: true release-monitor: identifier: 1741 + +test: + environment: + contents: + packages: + - build-base + pipeline: + - name: Compile and Execute Test + runs: | + cat <<'EOF' > hello.c + #include + int main() { puts("Hello, world!"); return 0; } + EOF + libtool --mode=compile --tag=CC gcc -c hello.c -o hello.o + libtool --mode=link --tag=CC gcc hello.o -o hello + ./hello | grep -q "Hello, world!"