Bootstrap vcpkg after baseline checkout #897
Workflow file for this run
This file contains hidden or 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: Docker Test | |
| on: | |
| pull_request: | |
| types: [synchronize, opened] | |
| push: | |
| branches: | |
| - main | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| OPENCV_VERSION: 5.0.0 | |
| DOCKER_BUILD_CONTEXT_FULL: ./packaging/docker/ubuntu24-dotnet10-opencv5.0.0 | |
| DOCKER_BUILD_CONTEXT_SLIM: ./packaging/docker/ubuntu24-dotnet10-opencv5.0.0-slim | |
| jobs: | |
| build_full: | |
| name: Docker (full) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: docker/setup-buildx-action@v4 | |
| - name: Test native .so (full) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_FULL }}/Dockerfile | |
| target: test-native | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=cacheonly | |
| cache-from: | | |
| type=gha,scope=full-test-native-${{ github.ref_name }} | |
| type=gha,scope=full-test-native-main | |
| type=gha,scope=full-${{ github.ref_name }} | |
| type=gha,scope=full-main | |
| cache-to: type=gha,mode=min,scope=full-test-native-${{ github.ref_name }} | |
| - name: Test .NET class libraries (full) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_FULL }}/Dockerfile | |
| target: test-dotnet | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=cacheonly | |
| cache-from: | | |
| type=gha,scope=full-test-dotnet-${{ github.ref_name }} | |
| type=gha,scope=full-test-dotnet-main | |
| type=gha,scope=full-${{ github.ref_name }} | |
| type=gha,scope=full-main | |
| cache-to: type=gha,mode=min,scope=full-test-dotnet-${{ github.ref_name }} | |
| - name: Build with Docker (full) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_FULL }}/Dockerfile | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=docker,name=shimat/ubuntu24-dotnet10-opencv5.0.0:latest | |
| cache-from: | | |
| type=gha,scope=full-${{ github.ref_name }} | |
| type=gha,scope=full-main | |
| cache-to: type=gha,mode=min,scope=full-${{ github.ref_name }} | |
| build_slim: | |
| name: Docker (slim) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: docker/setup-buildx-action@v4 | |
| - name: Test native .so (slim) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_SLIM }}/Dockerfile | |
| target: test-native | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=cacheonly | |
| cache-from: | | |
| type=gha,scope=slim-test-native-${{ github.ref_name }} | |
| type=gha,scope=slim-test-native-main | |
| type=gha,scope=slim-${{ github.ref_name }} | |
| type=gha,scope=slim-main | |
| cache-to: type=gha,mode=min,scope=slim-test-native-${{ github.ref_name }} | |
| - name: Build with Docker (slim) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_SLIM }}/Dockerfile | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=docker,name=shimat/ubuntu24-dotnet10-opencv5.0.0-slim:latest | |
| cache-from: | | |
| type=gha,scope=slim-${{ github.ref_name }} | |
| type=gha,scope=slim-main | |
| cache-to: type=gha,mode=min,scope=slim-${{ github.ref_name }} |