From cfa2c296799e06d9d66c2b214b1628fee1374b1c Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Sun, 20 Apr 2025 23:59:05 +0100 Subject: [PATCH] Updated to a newer ubuntu image (old one is deprecated and no longer runs) --- .github/workflows/compile.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 8f8cf4290..0230b6e9e 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -34,7 +34,7 @@ jobs: defines: '-DGGML_AVX2=OFF' - build: 'avx512' defines: '-DGGML_AVX512=ON' - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: @@ -90,7 +90,7 @@ jobs: defines: '-DGGML_AVX2=OFF' - build: 'avx512' defines: '-DGGML_AVX512=ON' - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 container: image: alpine:latest steps: @@ -334,7 +334,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-2019] + os: [ubuntu-24.04, windows-2019] cuda: ['12.2.0', '11.7.1'] runs-on: ${{ matrix.os }} steps: @@ -409,35 +409,35 @@ jobs: if-no-files-found: error - name: Upload artifacts (Linux) - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} uses: actions/upload-artifact@v4 with: path: ./build/bin/libllama.so name: llama-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so if-no-files-found: error - name: Upload artifacts ggml (Linux) - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} uses: actions/upload-artifact@v4 with: path: ./build/bin/libggml.so name: ggml-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so if-no-files-found: error - name: Upload artifacts ggml-base (Linux) - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} uses: actions/upload-artifact@v4 with: path: ./build/bin/libggml-base.so name: ggml-base-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so if-no-files-found: error - name: Upload artifacts ggml-cuda (Linux) - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} uses: actions/upload-artifact@v4 with: path: ./build/bin/libggml-cuda.so name: ggml-cuda-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so if-no-files-found: error - name: Upload llava artifacts (Linux) - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} uses: actions/upload-artifact@v4 with: path: ./build/bin/libllava_shared.so @@ -540,7 +540,7 @@ jobs: defines: '-DANDROID_ABI=x86_64' - build: 'arm64-v8a' defines: '-DANDROID_ABI=arm64-v8a' - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: