Skip to content

Dropping proc invocations at classifier #28

Dropping proc invocations at classifier

Dropping proc invocations at classifier #28

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches: [ "main", "development" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-22.04
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
# only required for workflows in private repositories
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: c-cpp
build-mode: manual
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1
- name: Install dependencies
run: |
sudo apt update
sudo apt-get install -y gcc-aarch64-linux-gnu
sudo apt-get install -y python3-pip swig yamllint
sudo apt-get install -y python3-setuptools python3-wheel
sudo apt-get install -y cmake pkg-config libyaml-dev
sudo apt-get install -y libsystemd-dev
sudo apt-get install -y libyaml-cpp-dev
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: |
security-and-quality
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
mkdir -p build
cd build
cmake .. -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX="${URM_INSTALL_PREFIX}"
cmake --build .
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"