diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 5dda197c..cdaeeff0 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -33,7 +33,7 @@ jobs: defines: '-DLLAMA_AVX2=OFF' - build: 'avx512' defines: '-DLLAMA_AVX512=ON' - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 with: @@ -90,7 +90,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-20.04, windows-latest] cuda: ['12.1.0', '11.7.1'] runs-on: ${{ matrix.os }} steps: @@ -132,7 +132,7 @@ jobs: path: .\build\bin\Release\llama.dll name: llama-bin-win-cublas-cu${{ matrix.cuda }}-x64.dll - name: Upload artifacts (Linux) - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-20.04' }} uses: actions/upload-artifact@v3 with: path: ./build/libllama.so