Skip to content

Release v3.0.6

Release v3.0.6 #511

Workflow file for this run

#
# Copyright (c) 2020-2024 Siddharth Chandrasekaran <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
#
name: Build CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
CmakeBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Debug .
- name: Build
run: cmake --build . --parallel 7 --target all --target cpp_cp_sample --target cpp_pd_sample
- name: Package
run: cmake --build . --target package --target package_source
- uses: actions/upload-artifact@v2
with:
name: libosdp-ubuntu-latest-binaries.zip
path: artifacts/
MakeBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: configure
run: |
./configure.sh
- name: make
run: make V=1
DocBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y doxygen
pip3 install -r doc/requirements.txt
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Debug .
- name: Build docs
run: cmake --build . --parallel 7 --target html_docs
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Debug .
- name: Run unit-tests
run: cmake --build . --parallel 7 --target check-ut
- name: Run pytest
run: tests/pytest/run.sh
CheckPatch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: ClangFormatCheck
run: |
./scripts/clang-format-check.sh
Python:
name: Python
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install pypa/build
run: python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python3 -m build python
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: python/dist/