-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (62 loc) · 1.73 KB
/
Copy pathci.yml
File metadata and controls
62 lines (62 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
check:
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [22, 24]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7.0.1
- uses: pnpm/action-setup@v6.1.0
- uses: actions/setup-node@v7.0.0
with:
node-version: ${{ matrix.node }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm check
- run: pnpm test
codex:
name: Native Codex (${{ matrix.os }})
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
binary: codex-x86_64-unknown-linux-musl
- os: windows-latest
binary: codex-x86_64-pc-windows-msvc.exe
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7.0.1
- uses: actions/setup-node@v7.0.0
with:
node-version: 24
- name: Install pinned Codex
shell: bash
working-directory: ${{ runner.temp }}
env:
CODEX_VERSION: 0.155.1
CODEX_BINARY: ${{ matrix.binary }}
run: |
curl --fail --location "https://github.com/openai/codex/releases/download/rust-v${CODEX_VERSION}/${CODEX_BINARY}.tar.gz" --output codex.tar.gz
tar -xzf codex.tar.gz
- name: Check native loading and reporting
shell: bash
env:
CODEX_BINARY: ${{ matrix.binary }}
run: node scripts/smoke-codex.mjs "$RUNNER_TEMP/$CODEX_BINARY"
- uses: actions/upload-artifact@v4
if: always()
with:
name: codex-${{ matrix.os }}
path: reports/codex/