Skip to content

generate proper json files for chrome tracing (#368) #31

generate proper json files for chrome tracing (#368)

generate proper json files for chrome tracing (#368) #31

Workflow file for this run

name: analyze
permissions:
contents: read
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
branches:
- main
env:
BUILD_TYPE: RelWithDebInfo
jobs:
analyze:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
permissions:
security-events: write
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Initialize CodeQL
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
with:
languages: cpp
- name: Create Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Run CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build . --parallel 4 --config $BUILD_TYPE
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7