Skip to content

Update appveyor.yml

Update appveyor.yml #6

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "RC_2_0", "RC_1_0", "RC_1_1", "RC_1_2", "master" ]
pull_request:
branches: [ "RC_2_0" ]
schedule:
- cron: "3 12 * * 2"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ cpp ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Packages (cpp)
if: ${{ matrix.language == 'cpp' }}
run: |
sudo apt-get update
sudo apt-get install --yes libboost-all-dev libssl-dev ninja-build
- name: After Prepare (cpp)
if: ${{ matrix.language == 'cpp' }}
run: 'wget -q "https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-linux-x86_64.tar.gz"
tar xzf cmake-3.21.2-linux-x86_64.tar.gz
'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Build cpp
if: ${{ matrix.language == 'cpp' }}
run: './cmake-3.21.2-linux-x86_64/bin/cmake -Dbuild_examples=ON -Dbuild_tests=ON -Dbuild_tools=ON -GNinja .
./cmake-3.21.2-linux-x86_64/bin/cmake --build .
'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"