Skip to content

feat: add api for loading plans of all types (#80) #13

feat: add api for loading plans of all types (#80)

feat: add api for loading plans of all types (#80) #13

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Ubuntu Build & Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Ubuntu
run: ./scripts/setup-ubuntu.sh
- name: Check License Header
uses: apache/skywalking-eyes/header@v0.4.0
- name: Formatting Cmake files
run: ./scripts/run-cmake-format.sh
- name: Formatting Clang files
run: ./scripts/run-clang-format.sh
- name: Checking formatting
run: git diff --exit-code
- name: Checking code style
run: ./scripts/run-clang-tidy.sh
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Ubuntu
run: ./scripts/setup-ubuntu.sh
- run: mkdir build
- name: Run cmake
run: cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TZ_LIB=ON
- name: Build
run: ninja -C build
- name: Test
run: ctest --test-dir build --output-on-failure