-
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.
Merge branch 'main' into rlamb/remove-vendored-allocate_unique
- Loading branch information
Showing
153 changed files
with
2,629 additions
and
394 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,51 @@ | ||
# 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 }} | ||
CMAKE_INSTALL_PREFIX: ../LAUNCHDARKLY_INSTALL | ||
- name: Build the SDK | ||
shell: bash | ||
run: | | ||
cmake --build build | ||
- name: Install the SDK | ||
shell: bash | ||
run: | | ||
cmake --install build | ||
- 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
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
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
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
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 @@ | ||
name: cmake-integration | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' # Do not need to run CI for markdown changes. | ||
pull_request: | ||
branches: [ "main", "feat/**" ] | ||
paths-ignore: | ||
- '**.md' | ||
schedule: | ||
# Run daily at midnight PST | ||
- cron: '0 8 * * *' | ||
|
||
jobs: | ||
test-ubuntu: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/cmake-test | ||
with: | ||
platform_version: '22.04' | ||
|
||
test-macos: | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/cmake-test | ||
with: | ||
platform_version: '12' | ||
|
||
test-windows: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- uses: ./.github/actions/cmake-test | ||
env: | ||
BOOST_ROOT: 'C:\local\boost_1_81_0\lib64-msvc-14.3' | ||
with: | ||
platform_version: 2022 | ||
toolset: msvc |
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"libs/client-sdk": "3.6.3", | ||
"libs/server-sent-events": "0.5.2", | ||
"libs/common": "1.7.0", | ||
"libs/internal": "0.8.1", | ||
"libs/server-sdk": "3.5.3", | ||
"libs/server-sdk-redis-source": "2.1.11" | ||
"libs/client-sdk": "3.8.1", | ||
"libs/server-sent-events": "0.5.4", | ||
"libs/common": "1.9.0", | ||
"libs/internal": "0.10.0", | ||
"libs/server-sdk": "3.8.0", | ||
"libs/server-sdk-redis-source": "2.1.16" | ||
} |
Oops, something went wrong.