Improve GPU functions and add max reflection count #96
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: 🧪 Run Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - Release | |
| - Debug | |
| os: | |
| - macos-latest | |
| - windows-latest | |
| include: | |
| - os: ubuntu-latest | |
| config: Release | |
| container: ghcr.io/viennatools/vienna-builder:suite | |
| - os: ubuntu-latest | |
| config: Debug | |
| container: ghcr.io/viennatools/vienna-builder:suite | |
| runs-on: ${{ matrix.os }} | |
| container: ${{ matrix.container }} | |
| name: "🧪 Test on ${{ matrix.os }} (⚙️: ${{ matrix.config }}, 💿: ${{ matrix.container || matrix.os }})" | |
| steps: | |
| - name: 📥 Checkout | |
| uses: actions/checkout@v3 | |
| - name: 🖥️ Setup Environment | |
| uses: ./.github/actions/setup | |
| with: | |
| os: ${{ matrix.os }} | |
| - name: 🦥 Cache Dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| key: test-${{ matrix.os }}-${{ matrix.config }} | |
| path: build | |
| - name: 🏗️ Compile | |
| run: cmake -B build -DCPM_SOURCE_CACHE=deps-cache -DVIENNARAY_BUILD_TESTS=ON && cmake --build build --config ${{ matrix.config }} | |
| - name: 🧪 Test | |
| run: ctest -C ${{ matrix.config }} --test-dir build |