Skip to content

Commit 86d12f6

Browse files
committed
ci: update scan-build builds to cover all permutations
Fix passing of configure args to include the variant we are testing.
1 parent c6c9293 commit 86d12f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ test_scan_build_clang:
4848
image: greenaddress/wallycore@sha256:956b107d688f549c6e3884424991b7d3d34d84173990d43046fd760d7918db7c
4949
parallel:
5050
matrix:
51-
- CONFIGURE_ARGS: [--enable-elements=yes, --enable-elements=no,--enable-minimal=yes]
51+
- CONFIGURE_ARGS: [ --enable-elements=no, --enable-elements=no --enable-minimal=yes, "", --enable-minimal=yes ]
5252
tags:
5353
- ga
5454
script:
5555
- ./tools/cleanup.sh && ./tools/autogen.sh
56-
- CC=clang scan-build-11 ./configure --enable-export-all --enable-swig-python --enable-swig-java --disable-clear-tests --disable-asm
57-
- scan-build-11 --keep-cc --exclude src/secp256k1/ --status-bugs --keep-empty -o scan-build$CONFIGURE_ARGS make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))
56+
- CC=clang scan-build-11 ./configure --enable-export-all --enable-swig-python --enable-swig-java --disable-clear-tests --disable-asm $CONFIGURE_ARGS
57+
- scan-build-11 --keep-cc --exclude src/secp256k1/ --status-bugs --keep-empty -o scan-build-output make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))
5858
artifacts:
5959
expire_in: 3 days
60-
name: scan-build$CONFIGURE_ARGS
60+
name: scan-build-output
6161
when: on_success
6262
paths:
63-
- scan-build$CONFIGURE_ARGS/*
63+
- scan-build-output/
6464

6565
test_cmake:
6666
stage: test

0 commit comments

Comments
 (0)