Skip to content

Commit b389253

Browse files
committed
Add swap space and sudo rm within python_ci.yml
1 parent 2ab89ed commit b389253

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/python_ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
version: "15.4"
4141

4242
steps:
43+
- name: Set Larger Swap Space
44+
uses: pierotofy/set-swap-space@master
45+
with:
46+
swap-size-gb: 6
47+
4348
- name: Install Dependencies (Linux)
4449
if: runner.os == 'Linux'
4550
run: |
@@ -119,7 +124,7 @@ jobs:
119124
sudo make -j$(sysctl -n hw.physicalcpu) install
120125
make -j$(sysctl -n hw.physicalcpu) python-install
121126
cd ${{ github.workspace }} # go back to home directory
122-
rm -rf /tmp/gtsam_source
127+
sudo rm -rf /tmp/gtsam_source
123128
124129
- name: Checkout
125130
uses: actions/checkout@v4

0 commit comments

Comments
 (0)