Bump lukka/run-vcpkg from 7d259227a1fb6471a0253dd5ab7419835228f7d7 to 305c06bd4dee21e23dcf142c85c657a993f7aa1a #198
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
| # Copyright (c) Microsoft Corporation. | |
| # Licensed under the MIT License. | |
| # | |
| # http://go.microsoft.com/fwlink/?LinkID=615561 | |
| name: 'CTest (BVTs)' | |
| on: | |
| push: | |
| branches: "main" | |
| paths-ignore: | |
| - '*.md' | |
| - LICENSE | |
| - '.azuredevops/**' | |
| - '.github/*.md' | |
| - '.nuget/*' | |
| - build/*.cmd | |
| - build/*.json | |
| - build/*.props | |
| - build/*.ps1 | |
| - build/*.targets | |
| - build/*.xvd | |
| pull_request: | |
| branches: "main" | |
| paths-ignore: | |
| - '*.md' | |
| - LICENSE | |
| - '.azuredevops/**' | |
| - '.github/*.md' | |
| - '.nuget/*' | |
| - build/*.cmd | |
| - build/*.json | |
| - build/*.props | |
| - build/*.ps1 | |
| - build/*.targets | |
| - build/*.xvd | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-11-arm | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| build_type: [arm64-Release] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Clone test repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: walbourn/directxtk12test | |
| path: Tests | |
| ref: main | |
| - name: 'Install Ninja' | |
| run: choco install ninja | |
| - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 | |
| with: | |
| arch: arm64 | |
| - name: 'Configure CMake' | |
| working-directory: ${{ github.workspace }} | |
| run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON -DBUILD_BVT=ON | |
| - name: 'Build' | |
| working-directory: ${{ github.workspace }} | |
| run: cmake --build out\build\${{ matrix.build_type }} | |
| - name: 'Run BVTs' | |
| working-directory: ${{ github.workspace }} | |
| run: ctest --preset=${{ matrix.build_type }} --output-on-failure |