Use CommandAPDU instead byte_vector #931
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: CMake (Windows) | |
| on: [push, pull_request] | |
| env: | |
| BUILD_TYPE: RelWithDebInfo | |
| CMAKE_BUILD_PARALLEL_LEVEL: 3 | |
| VCPKG_MANIFEST_DIR: .github | |
| VCPKG_INSTALLED_DIR: ${{ github.workspace }}/build/vcpkg_installed | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Cache vcpkg | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ github.workspace }}/vcpkg_cache | |
| key: vcpkg-${{ hashFiles(format('{0}/vcpkg.json', env.VCPKG_MANIFEST_DIR)) }} | |
| - name: Prepare vcpkg and libraries | |
| uses: lukka/run-vcpkg@v11 | |
| with: | |
| vcpkgJsonGlob: ${{ env.VCPKG_MANIFEST_DIR }}/vcpkg.json | |
| runVcpkgInstall: true | |
| env: | |
| VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}/vcpkg_cache,readwrite | |
| - name: Configure CMake | |
| run: | | |
| cmake -A x64 -S . -B build "-DCMAKE_BUILD_TYPE=${env:BUILD_TYPE}" ` | |
| "-DCMAKE_TOOLCHAIN_FILE=${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" ` | |
| "-DVCPKG_MANIFEST_DIR=${{ env.VCPKG_MANIFEST_DIR }}" | |
| - name: Build | |
| run: cmake --build build --config ${env:BUILD_TYPE} | |
| - name: Test | |
| run: ctest -V -C ${env:BUILD_TYPE} --test-dir build |