turn off duplicate builds, the push builds will be on the PRs as well #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic CI | |
on: [push] | |
jobs: | |
basic_ci: | |
name: Basic CI | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- | |
name: Build estimator | |
uses: docker/build-push-action@v6 | |
with: | |
file: Dockerfile.estimator | |
load: true | |
tags: pose_estimator:latest | |
- | |
name: Build tester | |
uses: docker/build-push-action@v6 | |
with: | |
file: Dockerfile.tester | |
load: true | |
tags: estimator-tester:latest | |
- | |
name: Build ibpc_py | |
run: | | |
cd ibpc_py | |
python -m pip install -e . | |
- name: Install 7zip | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y 7zip | |
- | |
name: Run bpc fetch | |
run: | | |
bpc fetch ipd --remove-zip-after-extract | |
- | |
name: Run bpc test | |
run: | | |
bpc test pose_estimator:latest ipd --tester-image estimator-tester:latest ; cat submissions.csv | |
#TODO(tfoote) Also add tests for public images | |