diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2022-09-13 18:16:08 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-09-13 18:16:08 +0200 |
commit | dd4a0c3034173075fc6510cf52164023a114f560 (patch) | |
tree | 8ced705fddbbf38d1db822cba672b352c0173938 /.github/workflows | |
parent | d98738db5ce0347705fc1ce5f211b4e6d7dc5c3c (diff) | |
download | yosys-dd4a0c3034173075fc6510cf52164023a114f560.tar.gz yosys-dd4a0c3034173075fc6510cf52164023a114f560.tar.bz2 yosys-dd4a0c3034173075fc6510cf52164023a114f560.zip |
Add CodeQL
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/codeql.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..57cbe5010 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,29 @@ +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 + uses: actions/checkout@v3.0.0 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: cpp + queries: security-extended,security-and-quality + + - name: Build + run: make yosys -j6 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 |