Skip to content

fetchcontent with installed packages #1

fetchcontent with installed packages

fetchcontent with installed packages #1

Workflow file for this run

# 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

Check failure on line 27 in .github/workflows/job-test-linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/job-test-linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
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