(dd) #81
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: gb | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: [core/gb/**] | |
| jobs: | |
| build-and-test: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up MSVC | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Install Ninja | |
| uses: seanmiddleditch/gha-setup-ninja@v6 | |
| - name: Set up OSS CAD Suite | |
| uses: YosysHQ/setup-oss-cad-suite@v3 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| version: "2026-02-16" | |
| - name: Install vcpkg | |
| shell: pwsh | |
| run: | | |
| git clone https://github.com/microsoft/vcpkg.git ${{github.workspace}}/vcpkg | |
| git -C ${{ github.workspace }}\vcpkg checkout 80d025e8299d442c13b29751fc9451711b7c6c8e | |
| ${{github.workspace}}\vcpkg\bootstrap-vcpkg.bat | |
| echo "VCPKG_ROOT=${{github.workspace}}\vcpkg" >> $env:GITHUB_ENV | |
| - name: Configure | |
| run: cmake --preset debug | |
| - name: Build | |
| run: cmake --build --preset debug --target test_gb | |
| - name: Run tests | |
| run: ctest --test-dir build/debug/ -R ^test_gb$ -V |