Skip to content

fix: Handle exception closing stream for unavailable adapter on windows. #909

fix: Handle exception closing stream for unavailable adapter on windows.

fix: Handle exception closing stream for unavailable adapter on windows. #909

Workflow file for this run

name: libs/server-sdk
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:
contract-tests:
runs-on: ubuntu-22.04
env:
# Port the test service (implemented in this repo) should bind to.
TEST_SERVICE_PORT: 8123
TEST_SERVICE_BINARY: ./build/contract-tests/server-contract-tests/server-tests
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
cmake_target: server-tests
run_tests: false
- name: 'Launch test service as background task'
run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 &
- uses: launchdarkly/gh-actions/actions/[email protected]
with:
# Inform the test harness of test service's port.
test_service_port: ${{ env.TEST_SERVICE_PORT }}
extra_params: '-skip-from ./contract-tests/server-contract-tests/test-suppressions.txt'
token: ${{ secrets.GITHUB_TOKEN }}
build-test-server:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-cpp-server
simulate_release: true
build-test-server-mac:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-cpp-server
platform_version: 12
simulate_release: true
build-test-server-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-cpp-server
platform_version: 2022
toolset: msvc
simulate_windows_release: true