Refactord how CompileResults::maxSlots is managed to ensure changes from the DatabasePager gets passed on to updateViewer(..) #5886
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| BuildDocEnabled: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| # os: [ubuntu-latest, macos-latest, windows-latest] | |
| os: [ubuntu-latest] | |
| vulkan-version: [1.4.341.1] | |
| build-shared: [OFF] | |
| # include: | |
| # - build-shared: ON | |
| # os: windows-latest | |
| # vulkan-version: 1.4.341.1 | |
| continue-on-error: ${{ matrix.vulkan-version == 'latest' }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup cmake | |
| uses: jwlawson/actions-setup-cmake@v2.2.0 | |
| with: | |
| cmake-version: ${{ env.CMakeVersion }} | |
| - name: Install Vulkan SDK | |
| uses: humbletim/install-vulkan-sdk@c2aa128094d42ba02959a660f03e0a4e012192f9 | |
| with: | |
| version: ${{ matrix.vulkan-version }} | |
| cache: true | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v3 | |
| if: startsWith(matrix.os, 'windows') | |
| - name: Build and Install VSG | |
| shell: bash | |
| run: | | |
| if [ "$RUNNER_OS" == "Windows" ]; then | |
| cmake . -DBUILD_SHARED_LIBS=${{matrix.build-shared}} -A x64 | |
| cmake --build . | |
| elif [ "$RUNNER_OS" == "Linux" ]; then | |
| sudo apt-get -qq update | |
| sudo apt-get -qq install libxcb1-dev | |
| cmake . -DBUILD_SHARED_LIBS=${{matrix.build-shared}} | |
| make -j 3 && sudo make install | |
| elif [ "$RUNNER_OS" == "macOS" ]; then | |
| cmake . -DBUILD_SHARED_LIBS=${{matrix.build-shared}} | |
| make -j 4 && sudo make install | |
| else | |
| echo "$RUNNER_OS not supported" | |
| exit 1 | |
| fi |