Forced network isolation of testnet_node_build (including plugin_test… #691
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: | |
branches: [ master, develop, g-maintenance ] | |
jobs: | |
analyze: | |
name: Analyze | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-22.04'] | |
language: [ 'cpp' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Build Hive | |
run: | | |
git submodule update --init --recursive | |
sudo apt install -y doxygen libboost-all-dev libreadline-dev libssl-dev libtool ncurses-dev pkg-config python3 python3-dev python3-jinja2 python3-pip libsnappy-dev libbz2-dev liburing-dev | |
cmake -DCMAKE_BUILD_TYPE=Release . | |
make | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |