Skip to content

CodeQL

CodeQL #209

Workflow file for this run

name: CodeQL
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '30 14 * * 2'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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-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