forked from JeanPhilippeKernel/RendererEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.14 KB
/
job-test-linux.yml
File metadata and controls
37 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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