Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ee402b

Browse files
committed
Try autobuild
1 parent 5727410 commit 4ee402b

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
- name: Checkout repository
2929
uses: actions/checkout@v4
3030

31-
- name: Set up Python
32-
uses: actions/setup-python@v5
33-
if: matrix.language != 'javascript'
34-
with:
35-
python-version: '3.x'
31+
- name: Install dependencies
32+
if: matrix.language == 'c-cpp'
33+
run: pip install meson-python ninja numpy pybind11 setuptools-scm
3634

3735
- name: Initialize CodeQL
3836
uses: github/codeql-action/init@v3
@@ -41,13 +39,8 @@ jobs:
4139
setup-python-dependencies: false
4240
debug: true
4341

44-
- name: Build compiled code
45-
if: matrix.language == 'c-cpp'
46-
run: |
47-
mkdir -p ~/.cache/matplotlib
48-
python -m pip install --upgrade pip setuptools wheel
49-
python -m pip install --upgrade build
50-
python -m build
42+
- name: CodeQL Autobuild
43+
uses: github/codeql-action/autobuild@v3
5144

5245
- name: Perform CodeQL Analysis
5346
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)