fetchcontent with installed packages #1
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
| # Run tests for linux | ||
| # | ||
| name: linux Test Workflow | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| configuration: | ||
| type: string | ||
| default: 'Debug' | ||
| jobs: | ||
| test: | ||
| name: test-linux-${{ inputs.configuration }} | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| - name: Install development library | ||
| run: sudo apt-get install glslang-tools libwayland-dev libxkbcommon-dev libassimp-dev libfmt-dev libstb-dev libglfw3-dev libspdlog-dev libglm-dev libyaml-cpp-dev glslang-dev glslang-tools nlohmann-json3-dev libcli11-dev | ||
| - name: Download Artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: Build-linux-${{ inputs.configuration }} | ||
| <<<<<<< HEAD | ||
| path: Result.Linux.x64.${{ inputs.configuration }} | ||
| ======= | ||
| >>>>>>> 68a7dabd (Enable Dependency management with fetchcontent) | ||
| - name: Update access permission of ZEngineTests | ||
| run: chmod +x ./Result.Linux.x64.${{ inputs.configuration }}/ZEngine/tests/ZEngineTests | ||
| - name: Run Tests | ||
| run: .\Scripts\RunTests.ps1 -Configurations ${{ inputs.configuration }} | ||
| shell: pwsh | ||