Skip to content

Draft expression templates for functions #52

Draft expression templates for functions

Draft expression templates for functions #52

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
git \
wget \
pkg-config \
g++ \
zip \
zlib1g-dev \
unzip \
python3 \
ca-certificates \
clang-format-19 \
cpplint \
libeigen3-dev \
libgtest-dev
- name: Set up Bazel 8
uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Code Format Check
uses: jidicula/[email protected]
with:
clang-format-version: '19'
check-path: '.'
fallback-style: 'Google'
- name: Code Lint
uses: reviewdog/action-cpplint@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
flags: '--extensions=h,hpp,c,cpp,cc,cu,hh,ipp --filter=-build/include_order,-whitespace/indent_namespace --recursive include'
- name: Verify
run: |
bazel run verify
- name: Build
run: |
bazel run simple
bazel run constrained_simple
- name: Configure and Build with CMake
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
ctest --output-on-failure