Skip to content

feat: add C++23 AWS Durable Execution SDK #2

feat: add C++23 AWS Durable Execution SDK

feat: add C++23 AWS Durable Execution SDK #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Configure
run: >-
cmake -S . -B build
-DCMAKE_BUILD_TYPE=Release
-DDURABLE_EXECUTION_BUILD_BENCHMARKS=ON
- name: Build
run: cmake --build build --parallel 2
- name: Test
run: ctest --test-dir build --output-on-failure
- name: Install
run: cmake --install build --prefix "${{ runner.temp }}/install"
- name: Configure package consumer
run: >-
cmake -S tests/package_consumer
-B "${{ runner.temp }}/consumer"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_PREFIX_PATH="${{ runner.temp }}/install"
- name: Build package consumer
run: >-
cmake --build "${{ runner.temp }}/consumer" --parallel 2
- name: Run package consumer
run: "${{ runner.temp }}/consumer/package_consumer"
- name: Benchmark smoke test
run: ./build/durable_execution_microbench
sanitizers:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Configure
run: >-
cmake -S . -B build-sanitize
-DCMAKE_BUILD_TYPE=Debug
-DDURABLE_EXECUTION_BUILD_EXAMPLES=OFF
-DDURABLE_EXECUTION_ENABLE_SANITIZERS=ON
- name: Build
run: cmake --build build-sanitize --parallel 2
- name: Test
env:
ASAN_OPTIONS: detect_leaks=1
run: ctest --test-dir build-sanitize --output-on-failure