Repository navigation
62 lines (52 loc) · 1.46 KB
/
Copy pathitk.yaml
File metadata and controls
62 lines (52 loc) · 1.46 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: ITK
on:
push:
branches: [main]
pull_request:
paths:
- 'src/**'
- 'itk/**'
- 'pyproject.toml'
- 'uv.lock'
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
- '.github/workflows/itk.yaml'
permissions:
contents: read
jobs:
itk:
name: ITK
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Clone a2a-itk
uses: actions/checkout@v7
with:
repository: a2aproject/a2a-itk
ref: main
path: itk/a2a-itk
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build itk_service image (GHA layer cache)
uses: docker/build-push-action@v7
with:
context: itk/a2a-itk
tags: itk_service:latest
load: true
cache-from: type=gha,scope=itk_service
cache-to: type=gha,mode=max,scope=itk_service
- name: Cache launcher peer-SDK checkouts + build outputs
uses: actions/cache@v6
with:
path: ~/.cache/a2a-itk-launcher
key: itk-launcher-${{ runner.os }}-${{ github.sha }}
restore-keys: |
itk-launcher-${{ runner.os }}-
- name: Run ITK Tests
run: bash run_itk.sh
working-directory: itk
env:
A2A_ITK_REVISION: main
ITK_SKIP_BUILD: "1"