File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 71
71
env :
72
72
SDK_ROOT : $(xcrun --sdk macosx --show-sdk-path)
73
73
OS_FLAVOUR : ${{matrix.os.flavour}}
74
+ # version of Python we will build NEURON with on MacOS
75
+ MACOSX_PY_VERSION : 3.12
74
76
UNPRIVILEGED_USER : runner # User created+used inside Docker containers
75
77
# Extra software collections to be installed and enabled on CentOS7
76
78
SOFTWARE_COLLECTIONS_centos_7 : devtoolset-9 rh-git218 rh-python38
@@ -128,6 +130,12 @@ jobs:
128
130
env :
129
131
FLAVOUR_SCRIPT : scripts/install_${{matrix.os.flavour}}.sh
130
132
133
+ - if : ${{matrix.os.flavour}} == 'macOS'
134
+ name : Set up Python@${{ env.MACOSX_PY_VERSION }}
135
+ uses : actions/setup-python@v5
136
+ with :
137
+ python-version : ${{ env.MACOSX_PY_VERSION }}
138
+
131
139
# Checkout the repository; do this before the privilege step so that we
132
140
# can chown the result there
133
141
- name : Checkout NEURON
You can’t perform that action at this time.
0 commit comments