Skip to content

Commit e278592

Browse files
authored
[CI] Run some jobs in Julia v1.12 (#456)
* [CI] Run some jobs in Julia v1.12 * [CI] More aggressively clean up space on disk
1 parent ccd07e4 commit e278592

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,36 @@ jobs:
7373
# Add a job that uses the unprivileged builder with unpacked shards
7474
- runner: unprivileged
7575
squashfs: false
76-
julia-version: "1.7"
76+
julia-version: "1.12"
7777

78-
# This job is disabled because it "has been failing for some months"
79-
# # Add a job that uses the docker builder with unpacked shards
80-
# - runner: docker
81-
# squashfs: false
82-
# julia-version: "1.7"
78+
# Add a job that uses the docker builder with unpacked shards
79+
- runner: docker
80+
squashfs: false
81+
julia-version: "1.12"
8382

8483
steps:
85-
- run: sudo rm -rf /opt/*
84+
- name: Show available storage before cleanup
85+
run: |
86+
echo " --> df -h /"
87+
df -h /
88+
echo " --> df -a /"
89+
df -a /
90+
- name: Free Disk Space
91+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
92+
with:
93+
tool-cache: true
94+
# Removing "large packages" alone takes a couple of minutes, it could
95+
# be switched to true if more space is needed (it'd save ~5 GB or so)
96+
large-packages: false
97+
- name: Cleanup /opt
98+
run: |
99+
sudo rm -rf /opt/*
100+
- name: Show available storage after cleanup
101+
run: |
102+
echo " --> df -h /"
103+
df -h /
104+
echo " --> df -a /"
105+
df -a /
86106
- uses: actions/checkout@v6
87107
- uses: julia-actions/setup-julia@v2
88108
with:
@@ -131,3 +151,10 @@ jobs:
131151
path-to-lcov: lcov.info
132152
flag-name: run-${{ join(matrix.*, '-') }}
133153
parallel: true
154+
- name: Show available storage at the end
155+
if: always()
156+
run: |
157+
echo " --> df -h /"
158+
df -h /
159+
echo " --> df -a /"
160+
df -a /

0 commit comments

Comments
 (0)