Skip to content

Commit 8fdae44

Browse files
committed
Merge branch 'fixup-gh-actions' into 'master'
Fixup GitHub actions See merge request machine-learning/dorado!1649
2 parents 06f8a8f + 01e0a29 commit 8fdae44

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,46 @@ jobs:
77
build:
88
strategy:
99
matrix:
10-
os: [ubuntu-22.04, windows-2019-large]
10+
os: [ubuntu-24.04, windows-2022]
1111
include:
12-
- os: windows-2019-large
12+
- os: windows-2022
1313
arch: "-A x64"
1414
runs-on: ${{ matrix.os }}
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: Clean up diskspace
18-
if: matrix.os == 'ubuntu-22.04'
19-
run: sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY"
18+
if: matrix.os == 'ubuntu-24.04'
19+
run: |
20+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost /usr/local/lib/android "$AGENT_TOOLSDIRECTORY"
21+
sudo swapoff -a || true
22+
sudo rm -f /mnt/swapfile || true
23+
sudo apt-get remove -y '^aspnetcore-.*' || true
24+
sudo apt-get remove -y '^dotnet-.*' --fix-missing || true
25+
sudo apt-get remove -y '^llvm-.*' --fix-missing || true
26+
sudo apt-get remove -y 'php.*' --fix-missing || true
27+
sudo apt-get remove -y '^mongodb-.*' --fix-missing || true
28+
sudo apt-get remove -y '^mysql-.*' --fix-missing || true
29+
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing || true
30+
sudo apt-get remove -y google-cloud-sdk --fix-missing || true
31+
sudo apt-get remove -y google-cloud-cli --fix-missing || true
32+
sudo apt-get autoremove -y || true
33+
sudo apt-get clean || true
2034
- name: Set up cmake
21-
uses: jwlawson/actions-setup-cmake@v1.13
35+
uses: jwlawson/actions-setup-cmake@v2.0.2
2236
with:
2337
cmake-version: '3.25.x'
24-
- uses: Jimver/[email protected].22
38+
- uses: Jimver/[email protected].24
2539
id: cuda-toolkit
2640
with:
2741
cuda: '12.8.0'
2842
- name: Install dependencies from apt
29-
if: matrix.os == 'ubuntu-22.04'
43+
if: matrix.os == 'ubuntu-24.04'
3044
run: |
3145
sudo apt-get update
3246
sudo apt-get install -y --no-install-recommends libhdf5-dev libssl-dev autoconf
3347
- name: Set up Windows path
3448
uses: myci-actions/export-env-var-powershell@1
35-
if: matrix.os == 'windows-2019-large'
49+
if: matrix.os == 'windows-2022'
3650
with:
3751
name: PATH
3852
value: C:\a\dorado\dorado\dist\bin;$env:PATH

0 commit comments

Comments
 (0)