Skip to content

Commit

Permalink
Cancel previous builds when a new build is started, due to how expens…
Browse files Browse the repository at this point in the history
…ive this build is.
  • Loading branch information
jasoncouture committed Feb 5, 2024
1 parent 277175a commit f7a6eaa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
branches: [cron_job]
#schedule:
# - cron: "22 22 * * 2"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.llama_cpp_commit }}
cancel-in-progress: true

env:
# Compiler defines common to all platforms
Expand Down Expand Up @@ -156,13 +159,13 @@ jobs:
.\build\bin\Release\llama.dll
.\build\bin\Release\clblast.dll
name: llama-bin-win-clblast-x64.dll
- name: Upload artifacts (Windows)
- name: Upload artifacts (linux)
if: ${{ matrix.os == 'ubuntu-22.04' }}
uses: actions/upload-artifact@v4
with:
path: |
.\build\libllama.so
.\build\libclblast.so
./build/libllama.so
./build/libclblast.so
name: llama-bin-linux-clblast-x64.so

compile-cublas:
Expand Down

0 comments on commit f7a6eaa

Please sign in to comment.