|
7 | 7 | build: |
8 | 8 | strategy: |
9 | 9 | matrix: |
10 | | - os: [ubuntu-22.04, windows-2019-large] |
| 10 | + os: [ubuntu-24.04, windows-2022] |
11 | 11 | include: |
12 | | - - os: windows-2019-large |
| 12 | + - os: windows-2022 |
13 | 13 | arch: "-A x64" |
14 | 14 | runs-on: ${{ matrix.os }} |
15 | 15 | steps: |
16 | 16 | - uses: actions/checkout@v3 |
17 | 17 | - 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 |
20 | 34 | - name: Set up cmake |
21 | | - uses: jwlawson/actions-setup-cmake@v1.13 |
| 35 | + uses: jwlawson/actions-setup-cmake@v2.0.2 |
22 | 36 | with: |
23 | 37 | cmake-version: '3.25.x' |
24 | | - - uses: Jimver/[email protected].22 |
| 38 | + - uses: Jimver/[email protected].24 |
25 | 39 | id: cuda-toolkit |
26 | 40 | with: |
27 | 41 | cuda: '12.8.0' |
28 | 42 | - name: Install dependencies from apt |
29 | | - if: matrix.os == 'ubuntu-22.04' |
| 43 | + if: matrix.os == 'ubuntu-24.04' |
30 | 44 | run: | |
31 | 45 | sudo apt-get update |
32 | 46 | sudo apt-get install -y --no-install-recommends libhdf5-dev libssl-dev autoconf |
33 | 47 | - name: Set up Windows path |
34 | 48 | uses: myci-actions/export-env-var-powershell@1 |
35 | | - if: matrix.os == 'windows-2019-large' |
| 49 | + if: matrix.os == 'windows-2022' |
36 | 50 | with: |
37 | 51 | name: PATH |
38 | 52 | value: C:\a\dorado\dorado\dist\bin;$env:PATH |
|
0 commit comments