Skip to content

Commit

Permalink
186 enable GitHub codeql for c code (#215)
Browse files Browse the repository at this point in the history
* Create codeql-analysis.yml

- making the custom codeql file.

* Update codeql-analysis.yml

- trying pip install .

* Update codeql-analysis.yml

- no pip install reqs.

* Update codeql-analysis.yml

- ahh, can't isntall need venv ?

* Update codeql-analysis.yml

- need those quotes...

* Rename

- apparently the file needs a new name.

* Update codeql.yml

- adding support for python too.
  • Loading branch information
carlkidcrypto authored Oct 10, 2024
1 parent c8a8560 commit 33b79dd
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'c++' ]
language: [ 'c++', 'python' ]

steps:
- name: Checkout repository
Expand All @@ -32,16 +32,19 @@ jobs:
languages: ${{ matrix.language }}

- name: Install Linux Dependencies
if: matrix.language == 'c++'
run: |
sudo apt-get update;
sudo apt-get install -y libsnmp-dev libperl-dev;
- name: Set up Python 3.10
if: matrix.language == 'c++'
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Build Python Extension
if: matrix.language == 'c++'
run: |
pip install .
Expand Down

0 comments on commit 33b79dd

Please sign in to comment.