Skip to content

CodeQL

CodeQL #176

Workflow file for this run

name: CodeQL
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '30 14 * * 2'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up PPA
run: |
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y -u ppa:roblib/ppa
- name: Install dependencies
run: >
sudo apt-get install -y
build-essential
cmake
libboost-dev
libbullet-dev
libcomedi-dev
libdc1394-22-dev
libeigen3-dev
libfcl-dev
libnlopt-dev
libode-dev
libpqp-dev
libsimage-dev
libsolid3d-dev
libsoqt-dev
libxml2-dev
libxslt1-dev
ninja-build
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp
- name: Configure CMake
run: >
cmake
-GNinja
-DCMAKE_BUILD_TYPE=Release
-S"${{ github.workspace }}"
-B"${{ runner.workspace }}/rl-build"
- name: Build
working-directory: ${{ runner.workspace }}/rl-build
run: cmake --build .
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2