Skip to content

Add nice data access API #10

Add nice data access API

Add nice data access API #10

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'release/*'
pull_request:
branches:
- '**'
jobs:
build_and_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup python
uses: actions/setup-python@v4
- name: Install deps
run: sudo apt install cppcheck ccache
- uses: actions/[email protected]
id: ccache-persistence
with:
path: ~/.ccache
key: ccache-ccpp
restore-keys: |
ccache-ccpp
- name: setup ccache
run: mkdir -p ~/.ccache && echo "max_size = 300M" > ~/.ccache/ccache.conf && ccache -z && ccache -s
- name: Build
run: |
mkdir build
cmake -B build
make -C build -j2
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Run tests
run: |
make -C build run-unit-tests
- name: ccache post-run
run: ccache -s && ccache -z