11name : CMake Build Test
2-
32on : [push, pull_request]
4-
53jobs :
64 linux-builds :
75 name : Linux (${{ matrix.display_server }})
@@ -13,14 +11,12 @@ jobs:
1311 - uses : actions/checkout@v4
1412 with :
1513 lfs : true # Ensures LFS files are pulled
16-
1714 - name : Setup Vulkan SDK
1815 uses : humbletim/setup-vulkan-sdk@v1.2.1
1916 with :
2017 vulkan-query-version : 1.4.304.1
2118 vulkan-components : Vulkan-Headers, Vulkan-Loader
2219 vulkan-use-cache : true
23-
2420 - name : Install dependencies
2521 run : |
2622 sudo apt-get update
@@ -36,14 +32,13 @@ jobs:
3632 else
3733 sudo apt-get install -y xorg-dev
3834 fi
39-
4035 - name : Fix libslang.so permissions
4136 run : |
4237 chmod +x /home/runner/work/EOS/EOS/dependencies/binaries/slang/lib/libslang.so
4338 ls -la /home/runner/work/EOS/EOS/dependencies/binaries/slang/lib/
4439 sudo apt-get install git-lfs
4540 git lfs install --skip-repo
46-
41+
4742 - name : Set CMake variables
4843 run : |
4944 if [ "${{ matrix.display_server }}" = "Wayland" ]; then
5449 echo "USE_X11=ON" >> $GITHUB_ENV
5550 echo "DISPLAY=:0" >> $GITHUB_ENV
5651 fi
57-
5852 - name : Configure and Build
5953 run : |
6054 mkdir build && cd build
6357 -DUSE_X11=${{ matrix.display_server == 'X11' && 'ON' || 'OFF' }} \
6458 -DCMAKE_BUILD_TYPE=Release ..
6559 cmake --build . --config Release --parallel 4
66-
6760 - name : Run tests
6861 run : |
6962 cd build
7568 steps :
7669 - name : Checkout code
7770 uses : actions/checkout@v4
71+ with :
72+ lfs : true
7873
7974 - name : Setup Vulkan SDK
8075 uses : humbletim/setup-vulkan-sdk@v1.2.1
8681 - name : Install CMake
8782 uses : lukka/get-cmake@latest
8883
84+ - name : Verify Slang library
85+ run : |
86+ echo "Checking Slang library..."
87+ if (Test-Path "dependencies/binaries/slang/lib/slang.lib") {
88+ $fileInfo = Get-Item "dependencies/binaries/slang/lib/slang.lib"
89+ Write-Host "File size: $($fileInfo.Length) bytes"
90+ Write-Host "File exists and size looks reasonable"
91+ } else {
92+ Write-Host "ERROR: slang.lib not found!"
93+ exit 1
94+ }
95+ shell : powershell
96+
8997 - name : Configure and Build
9098 run : |
9199 mkdir build
96104 - name : Run tests
97105 run : |
98106 cd build
99- ctest --output-on-failure
107+ ctest --output-on-failure
0 commit comments