2022-09-13 11:16:08 -05:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 3 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Install deps
|
|
|
|
run: sudo apt-get install bison flex libreadline-dev tcl-dev libffi-dev
|
|
|
|
|
|
|
|
- name: Checkout repository
|
2024-01-26 16:20:48 -06:00
|
|
|
uses: actions/checkout@v4
|
2024-04-12 00:08:18 -05:00
|
|
|
with:
|
|
|
|
submodules: true
|
2022-09-13 11:16:08 -05:00
|
|
|
- name: Initialize CodeQL
|
2024-01-26 16:20:48 -06:00
|
|
|
uses: github/codeql-action/init@v3
|
2022-09-13 11:16:08 -05:00
|
|
|
with:
|
|
|
|
languages: cpp
|
|
|
|
queries: security-extended,security-and-quality
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: make yosys -j6
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-01-26 16:20:48 -06:00
|
|
|
uses: github/codeql-action/analyze@v3
|