Koboldcpp Linux #183
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Koboldcpp Linux | |
| on: workflow_dispatch | |
| env: | |
| BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
| NOAVX2: 1 | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-22.04 | |
| container: | |
| image: ubuntu:20.04 | |
| options: --privileged | |
| steps: | |
| - name: Clone | |
| id: checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.head_ref || github.ref_name }} | |
| - name: Dependencies | |
| id: depends | |
| run: | | |
| apt-get update | |
| apt-get install -y sudo | |
| sudo apt-get -y install git curl bzip2 | |
| - name: Build | |
| id: make_build | |
| run: | | |
| ./koboldcpp.sh dist | |
| - name: Save artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: kcpp_linux_binary | |
| path: dist/ |