name: CI

on: workflow_dispatch

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v2
      - name: Build
        run: make
      - name: Archive artifacts
        uses: actions/upload-artifact@v3
        with:
          name: obj
          path: |
            obj
      - name: Archive wrk binary
        uses: actions/upload-artifact@v3
        with:
          name: wrk
          path: |
            wrk
