Skip to content

Commit 7246e93

Browse files
committed
250728.223059.PDT revise compile_mex.yml and test_matlab.yml
1 parent 7a3d51c commit 7246e93

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/compile_mex.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@ jobs:
7070
if: startsWith(matrix.os, 'windows')
7171
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
7272

73+
- name: Run `sudo apt update`
74+
run: sudo apt update # Otherwise, free-disk-space or other actions relying on `apt` may fail
75+
76+
- name: Free disk space
77+
uses: jlumbroso/free-disk-space@main
78+
with:
79+
# all of these default to true, but feel free to set to "false" if necessary for your workflow
80+
android: true
81+
dotnet: true
82+
haskell: true
83+
large-packages: true
84+
docker-images: true
85+
swap-storage: false # Important, or the runner may be shut down due to memory starvation.
86+
7387
- name: Clone Repository (Latest)
7488
uses: actions/[email protected]
7589
if: github.event.inputs.git-ref == ''

.github/workflows/test_matlab.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ jobs:
6666
if: startsWith(matrix.os, 'windows')
6767
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
6868

69+
- name: Run `sudo apt update`
70+
run: sudo apt update # Otherwise, free-disk-space or other actions relying on `apt` may fail
71+
72+
- name: Free disk space
73+
uses: jlumbroso/free-disk-space@main
74+
with:
75+
# all of these default to true, but feel free to set to "false" if necessary for your workflow
76+
android: true
77+
dotnet: true
78+
haskell: true
79+
large-packages: true
80+
docker-images: true
81+
swap-storage: false # Important, or the runner may be shut down due to memory starvation.
82+
6983
- name: Clone Repository (Latest)
7084
uses: actions/[email protected]
7185
if: github.event.inputs.git-ref == ''

0 commit comments

Comments
 (0)