Automatic update of versions #138
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: Build vdo-larod applications | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'vdo-larod/**' | |
- '!vdo-larod/README.md' | |
- '.github/workflows/vdo-larod.yml' | |
jobs: | |
test-app: | |
name: Test app | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- arch: armv7hf | |
chip: cpu | |
axis-os: 12.1.60 | |
- arch: armv7hf | |
chip: edgetpu | |
axis-os: 12.1.60 | |
- arch: aarch64 | |
chip: artpec8 | |
axis-os: 12.1.60 | |
- arch: aarch64 | |
chip: cv25 | |
axis-os: 12.1.60 | |
env: | |
EXREPO: acap-native-examples | |
EXNAME: vdo-larod | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-buildx-action@v3 | |
- name: Build ${{ env.example }} application | |
env: | |
example: ${{ env.EXNAME }}-${{ matrix.chip }} | |
imagetag: ${{ env.EXREPO }}_${{ env.EXNAME }}_${{ matrix.chip }}:${{ matrix.arch }} | |
run: | | |
docker image rm -f $imagetag | |
cd $EXNAME | |
docker build --no-cache --build-arg CHIP=${{ matrix.chip }} --build-arg ARCH=${{ matrix.arch }} --tag $imagetag . | |
docker cp $(docker create $imagetag):/opt/app ./build_${{ matrix.chip }} | |
cd .. | |
docker image rm -f $imagetag |