Skip to content

Commit 45a6f3a

Browse files
authored
Patch No available disk on this device upon Software Test CI runs (UBC-Thunderbots#3498)
* upgrade runner to 24 & free up disk * rebase
1 parent 549869f commit 45a6f3a

2 files changed

Lines changed: 318 additions & 236 deletions

File tree

.github/workflows/main.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
multiplatform-build:
1515
strategy:
1616
matrix:
17-
platform: [ ubuntu-24.04, ubuntu-24.04-arm ]
17+
platform: [ ubuntu-22.04, ubuntu-24.04-arm ]
1818

1919
name: Ubuntu Alternate Builds
2020
runs-on: ${{ matrix.platform }}
@@ -29,7 +29,7 @@ jobs:
2929
- name: Software Build Test
3030
run: |
3131
cd src
32-
bazel build --show_timestamps --copt=-O3 \
32+
bazel build --show_timestamps --copt=-O3 --verbose_failures \
3333
-- //... -//software:unix_full_system \
3434
-//software/simulated_tests/... \
3535
-//software/ai/hl/... \
@@ -50,9 +50,16 @@ jobs:
5050
5151
software-tests:
5252
name: Software Tests
53-
runs-on: ubuntu-22.04
53+
runs-on: ubuntu-24.04
5454
steps:
55-
# checks-out the repository under $GITHUB_WORKSPACE
55+
# remove the unused packages in the CI runner to free up disk space
56+
# https://github.com/actions/runner-images/issues/2840
57+
- name: Free disk space
58+
run: |
59+
sudo rm -rf /usr/share/dotnet
60+
sudo rm -rf /usr/local/lib/android
61+
sudo rm -rf /opt/ghc
62+
5663
- uses: actions/checkout@v4
5764

5865
- name: Environment Setup
@@ -62,7 +69,7 @@ jobs:
6269
- name: Software Test
6370
run: |
6471
cd src
65-
bazel test --copt=-O3 --show_timestamps \
72+
bazel test --copt=-O3 --show_timestamps --verbose_failures \
6673
-- //... -//software:unix_full_system \
6774
-//software/simulated_tests/... \
6875
-//software/ai/hl/... \
@@ -72,7 +79,7 @@ jobs:
7279
7380
robot-tests:
7481
name: Robot Software Tests
75-
runs-on: ubuntu-22.04
82+
runs-on: ubuntu-24.04
7683
steps:
7784
# checks-out the repository under $GITHUB_WORKSPACE
7885
- uses: actions/checkout@v4
@@ -108,7 +115,7 @@ jobs:
108115
109116
simulated-gameplay-tests:
110117
name: Simulated Gameplay Tests
111-
runs-on: ubuntu-22.04
118+
runs-on: ubuntu-24.04
112119
steps:
113120
# checks-out the repository under $GITHUB_WORKSPACE
114121
- uses: actions/checkout@v4
@@ -146,7 +153,7 @@ jobs:
146153
147154
autorefd-game:
148155
name: AutoRef'd Game (3 Minutes)
149-
runs-on: ubuntu-22.04
156+
runs-on: ubuntu-24.04
150157
steps:
151158
# checks-out the repository under $GITHUB_WORKSPACE
152159
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)