Skip to content

Merge pull request #2 from aiwantaozi/fix/1 #15

Merge pull request #2 from aiwantaozi/fix/1

Merge pull request #2 from aiwantaozi/fix/1 #15

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
- "v*-dev"
tags: ["*.*.*"]
jobs:
linux-build:
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
name: Checkout code
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/uv
key: ${{ runner.os }}-uv-${{ matrix.python-version }}-${{ hashFiles('**/uv.lock') }}
restore-keys: |
${{ runner.os }}-uv-${{ matrix.python-version }}-
- name: Run CI build
run: |
make ci
- name: Upload wheel as artifact
uses: actions/upload-artifact@v4
with:
name: benchmark-runner-dist
path: dist/*.whl
retention-days: 5