File tree 1 file changed +3
-11
lines changed 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 45
45
: # Make sure the current directory is empty
46
46
find . -delete
47
47
48
- - uses : actions/setup-python@v5
49
- id : setup-python
50
- with :
51
- # Use the oldest supported Python version
52
- python-version : ' 3.10'
53
- # Do this to minimise the 'magic' that setup-python does behind the scenes
54
- update-environment : false
55
-
56
48
- uses : actions/checkout@v4
57
49
with :
58
50
path : repo
61
53
run : |
62
54
sudo apt-get update
63
55
sudo apt-get -y install \
64
- $(${{ steps.setup-python.outputs.python-path }} ./repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-system-dependencies)
56
+ $(python3 ./repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-system-dependencies)
65
57
: # Extra test dependencies
66
58
sudo apt-get -y install parallel
67
59
71
63
git clone https://github.com/firedrakeproject/petsc.git
72
64
cd petsc
73
65
./configure \
74
- $(${{ steps.setup-python.outputs.python-path }} ../repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-petsc-configure-options) \
66
+ $(python3 ../repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-petsc-configure-options) \
75
67
--with-make-np=12
76
68
make
77
69
82
74
export HDF5_MPI=ON
83
75
export CC=mpicc CXX=mpicxx
84
76
export MPICC=$CC
85
- ${{ steps.setup-python.outputs.python-path }} -m venv venv
77
+ python3 -m venv venv
86
78
source venv/bin/activate
87
79
: # Force a rebuild of petsc4py as the cached one will not link to the fresh
88
80
: # install of PETSc. A similar trick may be needed for compiled dependencies
You can’t perform that action at this time.
0 commit comments