-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef513bf
commit 981a1f7
Showing
2 changed files
with
65 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This is a composite to allow sharing these steps into other workflows. | ||
# It isn't a shared workflow, because then it isn't convenient to add | ||
# additional package-specific steps. | ||
name: CMake Integration Test | ||
description: 'CMake integration test suitable for running on multiple platforms.' | ||
inputs: | ||
platform_version: | ||
description: 'Boost platform version' | ||
required: false | ||
default: "22.04" | ||
toolset: | ||
description: 'Boost toolset' | ||
required: false | ||
|
||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Ninja | ||
uses: ./.github/actions/install-ninja | ||
- name: Install boost | ||
uses: ./.github/actions/install-boost | ||
id: install-boost | ||
with: | ||
platform_version: ${{ inputs.platform_version }} | ||
toolset: ${{ inputs.toolset }} | ||
- name: Install OpenSSL | ||
uses: ./.github/actions/install-openssl | ||
id: install-openssl | ||
- name: Configure CMake Integration Tests | ||
shell: bash | ||
run: ./scripts/configure-cmake-integration-tests.sh | ||
env: | ||
# These will be injected into the SDK CMake project on the command line, via "-D BOOST_ROOT=..." | ||
# and "-D OPENSSL_ROOT_DIR=...". When the integration tests are configured, they will then be passed | ||
# along in the same manner to those test projects via the command line. | ||
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | ||
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }} | ||
- name: Run CMake Integration Tests | ||
shell: bash | ||
run: | | ||
export CTEST_OUTPUT_ON_FAILURE=1 | ||
cd build/cmake-tests && ctest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters