Skip to content

Enables model ensembles #1210

Enables model ensembles

Enables model ensembles #1210

Workflow file for this run

name: "Coding Style"
on:
push:
branches: [ main, ci-sandbox ]
pull_request:
branches: [ '**' ]
jobs:
clang-format:
name: "clang-format"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake
sudo apt-get install -y clang-format clang-tidy
- name: Run clang-format
run:
python3 run-clang-format.py --style file -r src wasm bindings/python
- name: Prepare build, compilation database etc.
run: |
mkdir -p build
cd build
cmake \
-DUSE_WASM_COMPATIBLE_SOURCE=off -DCMAKE_EXPORT_COMPILE_COMMANDS=on \
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
..
- name: Run clang-tidy
run: |
run-clang-tidy -p build "$PWD/src/.*"
run-clang-tidy -p build "$PWD/app/.*"