Skip to content

Separate block cipher #95

Separate block cipher

Separate block cipher #95

Workflow file for this run

name: Code QL
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
analyze:
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
config: ['Release']
name: Analyze ${{ matrix.language }} in ${{ matrix.config }}
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build and test in ${{ matrix.config }}.
shell: bash
run: |
CMAKE_GENERATOR_PLATFORM_ARG=""
if [ "$RUNNER_OS" == "Windows" ]; then
CMAKE_GENERATOR_PLATFORM_ARG="-DCMAKE_GENERATOR_PLATFORM=x64"
fi
cmake -S. -Bbuild/${{ matrix.config }} -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DBUILD_TESTING=ON -DBUILD_MEMCHECK=ON ${CMAKE_GENERATOR_PLATFORM_ARG}
cmake --build build/${{ matrix.config }} --config ${{ matrix.config }} --parallel 4 --target gtl_build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3