Skip to content

Commit b823769

Browse files
committed
CI: Add no_vla test build
1 parent 04411ba commit b823769

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.gitlab-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,19 @@ test_build:
4646
- "SYMBOL_REGEX='^_?renamenoise.*$'"
4747
- "while IFS= read -r line; do if [[ \"$line\" =~ $SYMBOL_REGEX ]]; then echo \"passed '$line'\"; else echo \"failed '$line'\"; FAILED=\"$FAILED,$line\"; fi; done <<< \"$EXPORTED_SYMBOLS\""
4848
- "if [[ -n \"$FAILED\" ]]; then echo \"$FAILED\"; exit 1; fi;"
49+
50+
test_build_no_vla:
51+
image: ubuntu:latest
52+
stage: build
53+
before_script:
54+
- apt-get -y update
55+
- apt-get -y install build-essential autoconf libtool
56+
script:
57+
- echo "Build renamenoise"
58+
- export CFLAGS="-DRENAMENOISE_NO_VLA=1 -Werror=vla"
59+
- ./autogen.sh
60+
- ./configure
61+
- make
62+
- echo "Apply noise suppression to test sample"
63+
- ./examples/renamenoise_demo ./sample/babble_15dB.pcm ./sample/renamenoise_babble_15dB.pcm
64+
- sha1sum -c --strict ./sample/CHECKSUMS

0 commit comments

Comments
 (0)