Skip to content

Commit bd4da06

Browse files
ci: testing
1 parent 0afd3fd commit bd4da06

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 34 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,30 @@ 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+
set VULKAN_SDK=D:/a/VulkanSDK
138+
cd $GITHUB_WORKSPACE
139+
cd scripts
140+
python new_project.py ../../Test0 -c -hr
141+
python new_project.py ../../Test1 -c
142+
python new_project.py ../../Test2 -cpp -hr
143+
python new_project.py ../../Test3 -cpp
144+
cd ../../Test0/src
145+
call build_win32.bat
146+
if %ERRORLEVEL% NEQ 0 exit 1
147+
cd ../../Test1/src
148+
call build_win32.bat
149+
if %ERRORLEVEL% NEQ 0 exit 1
150+
cd ../../Test2/src
151+
call build_win32.bat
152+
if %ERRORLEVEL% NEQ 0 exit 1
153+
cd ../../Test3/src
154+
call build_win32.bat
155+
if %ERRORLEVEL% NEQ 0 exit 1
156+
157+
124158
MacOS:
125159

126160
runs-on: macos-26

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The fastest way to use Pilot Light is to generate a small standalone project.
5454
From the root of this repository:
5555

5656
```bash
57+
python -m pip install pl-build
5758
python scripts/new_project.py ../MyFirstProject
5859
```
5960
Then just run your platforms build script located in the **/src** directory of your new project. The binaries will be located in the **/out** directory. The Pilot Light directory is no longer needed. Running the script again will update your project with the newest Pilot Light files.

0 commit comments

Comments
 (0)