Add tests for Cpprestsdk client in CircleCI (#18817)

* add cpprest sdk test in circleci

* install
This commit is contained in:
William Cheng 2024-06-01 17:31:20 +08:00 committed by GitHub
parent 84ce2bfd14
commit ca94559fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,11 +39,15 @@ elif [ "$NODE_INDEX" = "2" ]; then
export PATH="/usr/local/go1.18/go/bin:$PATH"
go version
# install cpprestsdk
sudo apt-get install libcpprest-dev
# run go integration tests
(cd samples/client/petstore/go && mvn integration-test)
(cd samples/openapi3/client/petstore/go && mvn integration-test)
(cd samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false && mvn integration-test)
(cd samples/client/others/go/allof_multiple_ref_and_discriminator && mvn integration-test)
(cd samples/client/petstore/cpp-restsdk/client && mvn integration-test)
elif [ "$NODE_INDEX" = "3" ]; then