Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run build-release.sh in client/server CI #279

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ inputs:
required: false
default: 'true'
platform_version:
description: 'Boost platform version'
required: false
default: "22.04"
toolset:
description: 'Boost toolset'
required: false
simulate_release:
description: 'Whether to run ./build-release.sh for the CMake target'
required: false
default: 'false'

runs:
using: composite
Expand Down Expand Up @@ -50,3 +56,9 @@ runs:
# This uses the binary, versus "make tests" because the binary
# has better performance and output.
run: ./build/gtest_${{ inputs.cmake_target }}
- name: Simulate Release
if: inputs.simulate_release == 'true'
shell: bash
run: ./scripts/build-release.sh ${{ inputs.cmake_target }}
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
1 change: 1 addition & 0 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-cpp-client
simulate_release: true
build-test-client-mac:
runs-on: macos-12
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-cpp-server
simulate_release: true
build-test-server-mac:
runs-on: macos-12
steps:
Expand Down