Skip to content

Commit 275b341

Browse files
committed
Test
1 parent 275878e commit 275b341

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,29 @@ jobs:
3434
with:
3535
submodules: true
3636

37+
- name: Debug workspace and presets (Linux)
38+
if: runner.os == 'Linux'
39+
shell: bash
40+
run: |
41+
set -euxo pipefail
42+
echo "Workspace: $GITHUB_WORKSPACE"
43+
pwd
44+
ls -la
45+
test -f CMakePresets.json || (echo 'Missing CMakePresets.json at workspace root' && exit 1)
46+
cmake --version
47+
cmake --list-presets
48+
49+
- name: Debug workspace and presets (Windows)
50+
if: runner.os == 'Windows'
51+
shell: pwsh
52+
run: |
53+
Write-Host "Workspace: $env:GITHUB_WORKSPACE"
54+
Get-Location
55+
Get-ChildItem -Force | Format-Table -AutoSize
56+
if (-not (Test-Path 'CMakePresets.json')) { Write-Error 'Missing CMakePresets.json at workspace root'; exit 1 }
57+
cmake --version
58+
cmake --list-presets
59+
3760
- name: Set up Ninja (Linux)
3861
if: runner.os == 'Linux'
3962
run: |
@@ -88,7 +111,7 @@ jobs:
88111
89112
- name: Build (CMake preset)
90113
working-directory: ${{ github.workspace }}
91-
run: cmake --build --preset "${{ matrix.preset }}" --parallel
114+
run: cmake --build "out/build/${{ matrix.preset }}" --parallel
92115

93116
- name: Upload driver pack artifact
94117
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)