-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 931 Bytes
/
Copy pathci.yml
File metadata and controls
33 lines (29 loc) · 931 Bytes
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
# Runs the test suite on macOS, Linux and Windows for every push and pull request,
# plus a Windows smoke test of the setup wizard / --reset against HKCU\Environment
# (the only Windows-specific code path, otherwise never executed on developer Macs).
name: CI
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace
- name: Windows smoke test (wizard + --reset)
if: runner.os == 'Windows'
shell: pwsh
run: |
cargo build -p agentiloop
pwsh scripts/windows-smoke.ps1 -Binary .\target\debug\agentiloop.exe