File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,23 @@ jobs:
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
27
- - name : Set up Python
28
- uses : actions/setup-python@v5
27
+ # - name: Set up Python
28
+ # uses: actions/setup-python@v5
29
+ # with:
30
+ # python-version: 3.13
31
+ - uses : actions/checkout@v4
29
32
with :
30
- python-version : 3.13
31
-
33
+ repository : ' python/cpython'
34
+ ref : ' v3.13.2'
35
+ path : ' cpython'
36
+
37
+ - name : Build Python
38
+ working-directory : cpython
39
+ run : |
40
+ ./configure --with-valgrind
41
+ make -j4 all
42
+ make install
43
+
32
44
- name : Install dependencies
33
45
run : |
34
46
sudo apt-get update
48
60
cd test/test_cmake
49
61
cmake -DCMAKE_BUILD_TYPE=Debug -DPython3_EXECUTABLE=python3 -G Ninja -B build-dir -S .
50
62
cmake --build build-dir/
51
- PYTHONMALLOC=malloc valgrind ${VALGRIND_FLAGS} build-dir/a.out
63
+ valgrind ${VALGRIND_FLAGS} build-dir/a.out
52
64
53
65
- name : Run Python demos
54
66
run : PYTHONMALLOC=malloc valgrind ${VALGRIND_FLAGS} pytest demo/python/test.py
You can’t perform that action at this time.
0 commit comments