Skip to content

Commit 5ca746f

Browse files
committed
chore: cleanup builds
1 parent aaef3a2 commit 5ca746f

File tree

4 files changed

+207
-349
lines changed

4 files changed

+207
-349
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ jobs:
6464
cd scripts
6565
python gen_build.py
6666
cd ../src
67-
build.bat -c deploy
68-
cd ..
69-
if not exist pilotlight/pilotlight.pyd exit 1
67+
call build.bat -c deploy
68+
if %ERRORLEVEL% NEQ 0 exit 1
7069
7170
- name: Build Wheel
7271
shell: cmd
@@ -140,9 +139,7 @@ jobs:
140139
python3 gen_build.py
141140
cd ../src
142141
chmod +x build.sh
143-
./build.sh -c deploy
144-
cd ..
145-
test -f ./pilotlight/pilotlight.so || exit 1
142+
./build.sh -c deploy || exit 1
146143
147144
- name: Build Wheel
148145
run: |
@@ -205,9 +202,9 @@ jobs:
205202
python3 gen_build.py
206203
cd ../src
207204
chmod +x build.sh
208-
./build.sh -c deploy
209-
cd ..
210-
test -f ./pilotlight/pilotlight.so || exit 1
205+
./build.sh -c deploy || exit 1
206+
cd ../pilotlight
207+
ls
211208
212209
- name: Build Wheel
213210
run: |

sandbox/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# core
2-
import pilotlight.pilotlight as pl
32
import pilotlight.imgui as imgui
3+
import pilotlight.pilotlight as pl
4+
45

56
# core apis
67
from pilotlight.pl_core import plIOI

0 commit comments

Comments
 (0)