Team Ai
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 19d agoView on Hugging Face
0likes1.2kdownloads
copilot-setup-steps.yml59 linesDownload Raw Back to workflows
1name: "Copilot Setup Steps"2 3# Automatically run the setup steps when they are changed to allow for easy validation, and4# allow manual testing through the repository's "Actions" tab5on:6  workflow_dispatch:7  push:8    paths:9      - .github/workflows/copilot-setup-steps.yml10  pull_request:11    paths:12      - .github/workflows/copilot-setup-steps.yml13 14cache-mode: none15 16jobs:17  # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.18  copilot-setup-steps:19    runs-on: ubuntu-24.0420 21    # Set the permissions to the lowest permissions possible needed for your steps.22    # Copilot will be given its own token for its operations.23    permissions:24      # If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.25      contents: read26 27    # You can define any steps you want, and they will run before the agent starts.28    # If you do not check out your code, Copilot will do this for you.29    steps:30      - name: Checkout code31        uses: actions/checkout@v632 33      - name: ccache34        uses: ggml-org/ccache-action@v1.2.2435        with:36          restore: false37          save: false38 39      - name: Dependencies40        id: depends41        run: |42          sudo apt-get update43          sudo apt-get install build-essential libssl-dev44          # Install git-clang-format script for formatting only changed code45          wget -O /tmp/git-clang-format https://raw.githubusercontent.com/llvm/llvm-project/release/18.x/clang/tools/clang-format/git-clang-format46          sudo cp /tmp/git-clang-format /usr/local/bin/git-clang-format47          sudo chmod +x /usr/local/bin/git-clang-format48 49      - name: Set up Python50        uses: actions/setup-python@v651        with:52          python-version: '3.11'53 54      - name: Install Python dependencies55        run: |56          python3 -m venv .venv57          source .venv/bin/activate58          pip install -r requirements/requirements-all.txt -r tools/server/tests/requirements.txt59