File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test
2+ on :
3+ pull_request :
4+ push :
5+ branches : [ main ]
6+ defaults :
7+ run :
8+ shell : bash
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 30
13+ steps :
14+ -
15+ name : Checkout
16+ uses : actions/checkout@v4
17+ -
18+ name : Set up Docker Buildx
19+ uses : docker/setup-buildx-action@v3
20+ -
21+ name : Login to GitHub Container Registry
22+ uses : docker/login-action@v3
23+ with :
24+ registry : ghcr.io
25+ username : ${{ github.actor }}
26+ password : ${{ secrets.GITHUB_TOKEN }}
27+ -
28+ name : Build estimator
29+ uses : docker/build-push-action@v6
30+ with :
31+ file : Dockerfile.estimator
32+ load : true
33+ tags : ${{ env.TEST_TAG }}
34+ -
35+ name : Build tester
36+ uses : docker/build-push-action@v6
37+ with :
38+ file : Dockerfile.tester
39+ load : true
40+ tags : ghcr.io/opencv/bpc/estimator-tester:latest
41+ -
42+ name : Build ibpc_py
43+ run : |
44+ cd ibpc_py
45+ python -m pip install -e .
46+ -
47+ name : Run bpc fetch
48+ run : |
49+ bpc fetch ipd
50+ # TODO make a bpc test return on success
51+ # -
52+ # name: Run bpc test
53+ # run: |
54+ # bpc fetch ipd
55+
56+
57+
You can’t perform that action at this time.
0 commit comments