File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 4141 - name : Get the solver name
4242 run : echo "SOLNAME=$(echo ${{ matrix.solver }} | cut -c1-6)" >> $GITHUB_ENV
4343
44+ - name : Free disk space
45+ uses : jlumbroso/free-disk-space@main
46+ if : startsWith(matrix.os, 'ubuntu')
47+ with :
48+ # all of these default to true, but feel free to set to "false" if necessary for your workflow
49+ android : true
50+ dotnet : true
51+ haskell : true
52+ large-packages : true
53+ docker-images : true
54+ swap-storage : false # Important, or the runner may be shut down due to memory starvation.
55+
4456 - name : Clone Repository (Latest)
45574658 if : github.event.inputs.git-ref == ''
@@ -109,6 +121,8 @@ jobs:
109121 with :
110122 command : |
111123 ver;
124+ feature('numCores') % Check the number of available cores
125+ parpool(feature('numCores')); % Start a parallel pool with the number of available cores
112126 root_dir = pwd();
113127
114128 cd(fullfile(root_dir, 'matcutest')); install(); which macup
Original file line number Diff line number Diff line change @@ -115,6 +115,8 @@ jobs:
115115 with :
116116 command : |
117117 ver;
118+ feature('numCores') % Check the number of available cores
119+ parpool(feature('numCores')); % Start a parallel pool with the number of available cores
118120 root_dir = pwd();
119121
120122 cd(fullfile(root_dir, 'matcutest')); install(); which macup
You can’t perform that action at this time.
0 commit comments