Skip to content

Commit f991ae1

Browse files
ci: testing
1 parent 0afd3fd commit f991ae1

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,20 @@ jobs:
2424

2525
runs-on: windows-2022
2626

27+
strategy:
28+
matrix:
29+
python-version: [ 3.14 ]
30+
2731
steps:
2832

2933
- name: Checkout
3034
uses: actions/checkout@v6
3135

36+
- name: Setup Python ${{ matrix.python-version }}
37+
uses: actions/setup-python@v5
38+
with:
39+
python-version: ${{ matrix.python-version }}
40+
3241
- name: Retrieve submodules
3342
run: git submodule update --init --recursive
3443

@@ -37,6 +46,7 @@ jobs:
3746
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/1.4.350.0/windows/vulkansdk-windows-X64-1.4.350.0.exe" -OutFile VulkanSDK.exe
3847
# ./VulkanSDK.exe --help
3948
./VulkanSDK.exe --accept-licenses --default-answer --root D:/a/VulkanSDK --confirm-command install
49+
python3 -m pip install pl-build
4050
4151
- name: Prep 1
4252
shell: cmd
@@ -121,6 +131,29 @@ jobs:
121131
path: D:\a\pilotlight\pilotlight\out\pilotlight_win32.zip
122132
overwrite: true
123133

134+
- name: Check New Project
135+
shell: cmd
136+
run: |
137+
cd $GITHUB_WORKSPACE
138+
cd scripts
139+
python new_project.py ../../Test0 -c -hr
140+
python new_project.py ../../Test1 -c
141+
python new_project.py ../../Test2 -cpp -hr
142+
python new_project.py ../../Test3 -cpp
143+
cd ../../Test0/src
144+
call build_win32.bat
145+
if %ERRORLEVEL% NEQ 0 exit 1
146+
cd ../../Test1/src
147+
call build_win32.bat
148+
if %ERRORLEVEL% NEQ 0 exit 1
149+
cd ../../Test2/src
150+
call build_win32.bat
151+
if %ERRORLEVEL% NEQ 0 exit 1
152+
cd ../../Test3/src
153+
call build_win32.bat
154+
if %ERRORLEVEL% NEQ 0 exit 1
155+
156+
124157
MacOS:
125158

126159
runs-on: macos-26

0 commit comments

Comments
 (0)