File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,24 @@ jobs:
2424 steps :
2525 - uses : actions/checkout@v4
2626
27- - name : Set up Python
28- uses : actions/setup-python@v5
29- with :
30- python-version : 3.13
31-
3227 - name : Install dependencies
3328 run : |
3429 sudo apt-get update
3530 sudo apt-get install -y libopenblas-dev liblapack-dev ninja-build valgrind
3631
32+ - uses : actions/checkout@v4
33+ with :
34+ repository : ' python/cpython'
35+ ref : ' v3.13.2'
36+ path : ' cpython'
37+
38+ - name : Build Python
39+ working-directory : cpython
40+ run : |
41+ ./configure --with-valgrind
42+ make -j4 all
43+ sudo make install
44+
3745 - name : Install UFL branch
3846 run : pip -v install git+https://github.com/FEniCS/ufl.git
3947
4856 cd test/test_cmake
4957 cmake -DCMAKE_BUILD_TYPE=Debug -DPython3_EXECUTABLE=python3 -G Ninja -B build-dir -S .
5058 cmake --build build-dir/
51- PYTHONMALLOC=malloc valgrind ${VALGRIND_FLAGS} build-dir/a.out
59+ valgrind ${VALGRIND_FLAGS} build-dir/a.out
5260
5361 - name : Run Python demos
5462 run : PYTHONMALLOC=malloc valgrind ${VALGRIND_FLAGS} pytest demo/python/test.py
You can’t perform that action at this time.
0 commit comments