try
This commit is contained in:
parent
0bf9138122
commit
3c7289c844
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -226,11 +226,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip3 install dist/*.whl
|
pip3 install dist/*.whl
|
||||||
cd /
|
cd /
|
||||||
|
echo "moo"
|
||||||
(exec 2>/dev/null python3 -c 'import pyray; pyray.init_window(100,100,"test")' 2>/dev/null >output)
|
(exec 2>/dev/null python3 -c 'import pyray; pyray.init_window(100,100,"test")' 2>/dev/null >output)
|
||||||
exit_code=$?
|
echo "woo"
|
||||||
if cat output | grep -q "INFO: Initializing raylib"; then
|
cat output
|
||||||
|
if grep -q "INFO: Initializing raylib" output; then
|
||||||
|
echo "boo"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
echo "foo"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Reference in a new issue