Optimize archive import and runtime logging #3
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: ci | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| smoke-windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 60 | |
| env: | |
| VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}\\.vcpkg-cache | |
| VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}\\.vcpkg-cache,readwrite | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Cache vcpkg artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| vcpkg/downloads | |
| .vcpkg-cache | |
| key: vcpkg-${{ runner.os }}-x64-windows-${{ hashFiles('vcpkg.json') }} | |
| restore-keys: | | |
| vcpkg-${{ runner.os }}-x64-windows- | |
| - name: Setup CMake | |
| uses: jwlawson/actions-setup-cmake@v2 | |
| - name: Setup MSVC environment | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: x64 | |
| - name: Bootstrap vcpkg | |
| shell: pwsh | |
| run: .\vcpkg\bootstrap-vcpkg.bat | |
| - name: Configure | |
| shell: pwsh | |
| run: cmake --preset ci-windows | |
| - name: Build | |
| shell: pwsh | |
| run: cmake --build --preset build-ci-debug | |
| - name: Test (smoke label) | |
| shell: pwsh | |
| run: ctest --preset test-ci-debug -L smoke --output-on-failure | |
| edge-windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 90 | |
| env: | |
| VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}\\.vcpkg-cache | |
| VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}\\.vcpkg-cache,readwrite | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Cache vcpkg artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| vcpkg/downloads | |
| .vcpkg-cache | |
| key: vcpkg-${{ runner.os }}-x64-windows-${{ hashFiles('vcpkg.json') }} | |
| restore-keys: | | |
| vcpkg-${{ runner.os }}-x64-windows- | |
| - name: Setup CMake | |
| uses: jwlawson/actions-setup-cmake@v2 | |
| - name: Setup MSVC environment | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: x64 | |
| - name: Bootstrap vcpkg | |
| shell: pwsh | |
| run: .\vcpkg\bootstrap-vcpkg.bat | |
| - name: Configure | |
| shell: pwsh | |
| run: cmake --preset ci-windows | |
| - name: Build | |
| shell: pwsh | |
| run: cmake --build --preset build-ci-debug | |
| - name: Generate edge-depth dataset | |
| shell: pwsh | |
| run: pwsh ./tests/stress/generate_stress_dataset.ps1 -Profile edge-depth -Clean | |
| - name: Generate edge-count dataset | |
| shell: pwsh | |
| run: pwsh ./tests/stress/generate_stress_dataset.ps1 -Profile edge-count -Clean | |
| - name: Test (edge label) | |
| shell: pwsh | |
| run: ctest --preset test-ci-debug -L edge --output-on-failure |