Skip to content

Add trajopt_ifopt builds for Windows and MacOS #1739

Add trajopt_ifopt builds for Windows and MacOS

Add trajopt_ifopt builds for Windows and MacOS #1739

Workflow file for this run

name: Clang-Format
on:
push:
branches:
- main
pull_request:
# allow manually starting this workflow
workflow_dispatch:
jobs:
clang_format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Run clang format
run: |
sudo apt update
sudo apt install -y git clang-format-8
if [ $? -ge 1 ]; then return 1; fi
./.run-clang-format
if [ $? -ge 1 ]; then return 1; fi
output=$(git diff)
if [ -n "$output" ]; then exit 1; else exit 0; fi