File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -109,3 +109,14 @@ cmake-test:
109109 coverage_report :
110110 coverage_format : cobertura
111111 path : coverage.xml
112+
113+ amalgamation-test :
114+ image : greenaddress/wallycore@sha256:956b107d688f549c6e3884424991b7d3d34d84173990d43046fd760d7918db7c
115+ tags :
116+ - ga
117+ script :
118+ - touch config.h
119+ - gcc -Wall -W -Wextra -Werror -I. -I./src -I./src/ccan -I./src/secp256k1/include src/ctest/amalgamation_compile_test.c
120+ - gcc -DBUILD_ELEMENTS -Wall -W -Wextra -Werror -I. -I./src -I./src/ccan -I./src/secp256k1/include src/ctest/amalgamation_compile_test.c
121+ - clang -Wall -W -Wextra -Werror -I. -I./src -I./src/ccan -I./src/secp256k1/include src/ctest/amalgamation_compile_test.c
122+ - clang -DBUILD_ELEMENTS -Wall -W -Wextra -Werror -I. -I./src -I./src/ccan -I./src/secp256k1/include src/ctest/amalgamation_compile_test.c
Original file line number Diff line number Diff line change 1+ /* Tests that including the entire library as a single source file works */
2+ #include "../amalgamation/combined.c"
3+
4+ int main (int argc , char * argv [])
5+ {
6+ (void ) argc ;
7+ (void ) argv ;
8+
9+ wally_init (0 );
10+ return wally_cleanup (0 );
11+ }
You can’t perform that action at this time.
0 commit comments