|
14 | 14 | multiplatform-build: |
15 | 15 | strategy: |
16 | 16 | matrix: |
17 | | - platform: [ ubuntu-24.04, ubuntu-24.04-arm ] |
| 17 | + platform: [ ubuntu-22.04, ubuntu-24.04-arm ] |
18 | 18 |
|
19 | 19 | name: Ubuntu Alternate Builds |
20 | 20 | runs-on: ${{ matrix.platform }} |
|
29 | 29 | - name: Software Build Test |
30 | 30 | run: | |
31 | 31 | cd src |
32 | | - bazel build --show_timestamps --copt=-O3 \ |
| 32 | + bazel build --show_timestamps --copt=-O3 --verbose_failures \ |
33 | 33 | -- //... -//software:unix_full_system \ |
34 | 34 | -//software/simulated_tests/... \ |
35 | 35 | -//software/ai/hl/... \ |
|
50 | 50 |
|
51 | 51 | software-tests: |
52 | 52 | name: Software Tests |
53 | | - runs-on: ubuntu-22.04 |
| 53 | + runs-on: ubuntu-24.04 |
54 | 54 | 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 | +
|
56 | 63 | - uses: actions/checkout@v4 |
57 | 64 |
|
58 | 65 | - name: Environment Setup |
|
62 | 69 | - name: Software Test |
63 | 70 | run: | |
64 | 71 | cd src |
65 | | - bazel test --copt=-O3 --show_timestamps \ |
| 72 | + bazel test --copt=-O3 --show_timestamps --verbose_failures \ |
66 | 73 | -- //... -//software:unix_full_system \ |
67 | 74 | -//software/simulated_tests/... \ |
68 | 75 | -//software/ai/hl/... \ |
|
72 | 79 |
|
73 | 80 | robot-tests: |
74 | 81 | name: Robot Software Tests |
75 | | - runs-on: ubuntu-22.04 |
| 82 | + runs-on: ubuntu-24.04 |
76 | 83 | steps: |
77 | 84 | # checks-out the repository under $GITHUB_WORKSPACE |
78 | 85 | - uses: actions/checkout@v4 |
@@ -108,7 +115,7 @@ jobs: |
108 | 115 |
|
109 | 116 | simulated-gameplay-tests: |
110 | 117 | name: Simulated Gameplay Tests |
111 | | - runs-on: ubuntu-22.04 |
| 118 | + runs-on: ubuntu-24.04 |
112 | 119 | steps: |
113 | 120 | # checks-out the repository under $GITHUB_WORKSPACE |
114 | 121 | - uses: actions/checkout@v4 |
@@ -146,7 +153,7 @@ jobs: |
146 | 153 |
|
147 | 154 | autorefd-game: |
148 | 155 | name: AutoRef'd Game (3 Minutes) |
149 | | - runs-on: ubuntu-22.04 |
| 156 | + runs-on: ubuntu-24.04 |
150 | 157 | steps: |
151 | 158 | # checks-out the repository under $GITHUB_WORKSPACE |
152 | 159 | - uses: actions/checkout@v4 |
|
0 commit comments