CodeQL #2
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: workflow_dispatch | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: 'macos-12' | |
timeout-minutes: 360 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- if: matrix.language == 'cpp' | |
name: Install dependencies and configure | |
run: | | |
brew install cmake asciidoctor qt@5 argon2 botan qrencode readline minizip | |
mkdir build | |
cd build | |
cmake -DWITH_XC_ALL=ON -DWITH_TESTS=OFF .. | |
- if: matrix.language == 'cpp' | |
name: Build C++ | |
run: | | |
cd build | |
make |