[CI] Make building static/shared configurable (#8272)
authorAndres Noetzli <andres.noetzli@gmail.com>
Fri, 11 Mar 2022 14:48:39 +0000 (06:48 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Mar 2022 14:48:39 +0000 (14:48 +0000)
commit8cf0942ec99e61c92befd1a08eb2aba8d6072781
tree41797115a0e868e99244cf3d72f4694f0a8a5e83
parent6960213a16bbad7b96fdbb3ff10ddd4d9cde3e04
[CI] Make building static/shared configurable (#8272)

This commit changes our CI workflow to actually pass through
build-shared and build-static to the configure-and-build action
and fixes how the condition is checked there. If we just pass through
the inputs, then the condition "${{ inputs.build-shared }}" != "true"
would be true (i.e., the step would be skipped) if
build-shared/build-static are not set explicitly in ci.yml because
of the default values for build-shared/build-static in ci.yml.
.github/actions/configure-and-build/action.yml
.github/workflows/ci.yml