Skip to content

chore: add matrix build for hello apps #4

chore: add matrix build for hello apps

chore: add matrix build for hello apps #4

Workflow file for this run

name: hello-apps
on:
push:
branches: [ main ]
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [ main, "feat/**" ]
paths-ignore:
- '**.md'
jobs:
smoketest:
strategy:
matrix:
linkage: [ "dynamic", "static" ]
os: [ "ubuntu-22.04", "macos-12", "windows-2022" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Ninja
uses: ./.github/actions/install-ninja
- name: Install boost
uses: ./.github/actions/install-boost
id: install-boost
- uses: ./.github/actions/hello-app
with:
cmake_targets: "hello-c-client hello-cpp-client hello-c-server hello-cpp-server"
linkage: ${{ matrix.linkage }}
boost_root: ${{ steps.install-boost.outputs.BOOST_ROOT }}