Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CLI (Mac)

on:
workflow_dispatch:
inputs:
commit_sha:
description: "Git commit SHA to evaluate"
required: true
type: string

env:
target_sha: ${{ github.event.inputs.commit_sha }}

jobs:
cli-mac:
name: CLI (Mac)
runs-on: macos-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ env.target_sha }}

- name: 🦕 Setup Deno
uses: ./.github/actions/deno-setup

- name: 📦 Cache Deno dependencies
uses: actions/cache@v3
with:
# TODO these are not the paths used in macos
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.json') }}

- name: 🧪 Build CLI
run: |
deno task build-binaries --cli-only

- name: 📤 Upload CLI
uses: actions/upload-artifact@v4
with:
name: macos-cli
path: |
./dist/ct
6 changes: 2 additions & 4 deletions .github/workflows/evals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ jobs:
with:
ref: ${{ env.target_sha }}

- name: 🦕 Setup Deno 2.2.2
uses: denoland/setup-deno@v2
with:
deno-version: "2.2.2"
- name: 🦕 Setup Deno
uses: ./.github/actions/deno-setup

- name: 📦 Cache Deno dependencies
uses: actions/cache@v3
Expand Down