Skip to content

Commit 2145d5d

Browse files
CI test for linux
1 parent bb2a955 commit 2145d5d

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/Engine-CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
push:
3-
branches: [ master, develop, arena-integration, compile_on_linux ]
3+
branches: [ master, develop, arena-integration ]
44
pull_request:
55
branches: [ master, develop, arena-integration ]
66

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ZEngine Cmake Linux Workflow
2+
3+
on:
4+
push:
5+
branches: [ compile_on_linux ]
6+
7+
jobs:
8+
Linux-Build:
9+
name: cmake-build-linux-debug
10+
runs-on: ubuntu-24.04
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Powershell Repository
17+
run: curl -O https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb && sudo dpkg -i packages-microsoft-prod.deb
18+
19+
- name: Install External Dependencies
20+
run: sudo apt-get update && sudo apt-get install -y git libasound2-dev libgl1-mesa-dev libpulse-dev libdbus-1-dev libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev libxt-dev libxxf86vm-dev cmake gcc g++ ninja-build libassimp-dev libfmt-dev libimgui-dev libstb-dev libglfw3-dev libspdlog-dev libglm-dev libyaml-cpp-dev libspirv-cross-c-shared-dev spirv-cross spirv-tools glslang-dev glslang-tools nlohmann-json3-dev dotnet-runtime-8.0 libgtest-dev powershell
21+
22+
- name: CMake Build
23+
run: .\Scripts\BuildEngine.ps1 -Configurations 'Debug' -RunClangFormat 0
24+
shell: pwsh
25+
26+
- name: Run Tests
27+
run: .\Scripts\RunTests.ps1 -Configurations 'Debug'
28+
shell: pwsh

0 commit comments

Comments
 (0)