@@ -22,41 +22,23 @@ jobs:
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- language : ['cpp', 'javascript', 'python']
25
+ language : ['c- cpp', 'javascript', 'python']
26
26
27
27
steps :
28
28
- name : Checkout repository
29
29
uses : actions/checkout@v4
30
30
31
- - name : Set up Python
32
- uses : actions/setup-python@v5
33
- if : matrix.language != 'javascript'
34
- with :
35
- python-version : ' 3.x'
36
- - name : Install dependencies
37
- if : matrix.language != 'javascript'
38
- run : |
39
- python -m pip install --upgrade pip setuptools wheel
40
- # TODO: Use pip-tools instead when it supports build-system
41
- # dependencies so we don't need another copy here.
42
- # https://github.com/jazzband/pip-tools/pull/1681
43
- python -m pip install --upgrade \
44
- build contourpy cycler fonttools kiwisolver \
45
- importlib_resources meson-python numpy packaging pillow pybind11 \
46
- pyparsing python-dateutil setuptools-scm
47
- echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
48
-
49
31
- name : Initialize CodeQL
50
32
uses : github/codeql-action/init@v3
51
33
with :
52
34
languages : ${{ matrix.language }}
53
35
setup-python-dependencies : false
54
36
55
37
- name : Build compiled code
56
- if : matrix.language == 'cpp'
38
+ if : matrix.language == 'c- cpp'
57
39
run : |
58
- mkdir ~/.cache/matplotlib
59
- $CODEQL_PYTHON -m build
40
+ pip install --user --upgrade pip
41
+ pip install --user -v .
60
42
61
43
- name : Perform CodeQL Analysis
62
44
uses : github/codeql-action/analyze@v3
0 commit comments