This repository has been archived by the owner on May 16, 2024. It is now read-only.
Add deprecated warning to README.md #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: [push, pull_request] | |
env: | |
BUILD_TYPE: RelWithDebInfo | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: sudo apt update -qq && sudo apt install --no-install-recommends -y cmake libpcsclite-dev libgtest-dev | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: cpp | |
queries: +security-and-quality | |
- name: Configure CMake | |
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S . | |
- name: Build | |
run: cmake --build build --config $BUILD_TYPE | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |