Skip to content

Support separated types and protocol generation for TS and JS #158

Support separated types and protocol generation for TS and JS

Support separated types and protocol generation for TS and JS #158

Workflow file for this run

name: C++ CI
on:
push:
branches: ["master", "v1"]
pull_request:
branches: ["master", "v1"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtest-dev cmake ninja-build gcc g++
version: 1.0
- name: Build Debug
run: |
mkdir -p build_debug
cmake -Bbuild_debug -S. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug
cmake --build build_debug
- name: Test Debug
run: ctest --test-dir build_debug/tests/ --output-on-failure
- name: Build Release
run: |
mkdir -p build_release
cmake -Bbuild_release -S. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release
cmake --build build_release
- name: Test Release
run: ctest --test-dir build_release/tests/ --output-on-failure