Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/build_linux_elf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
- uses: actions/setup-python@v2
- run: sudo apt-get install libsdl2-2.0-0
- run: python -m pip install pyinstaller
- env:
URL: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04
run: python -m pip install --find-links ${URL} wxPython

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely solved, congrats!

- run: python setup.py clean bundle
- run: chmod +x /home/runner/work/PythonTurtle/PythonTurtle/dist/PythonTurtle

@bittner bittner Sep 25, 2020

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a look at the documentation. The permissions will be lost in any case. The only solution is to tar up the file instead.

All in all, I'm not happy with the zipp'ed binary. It should be possible to download the binary directly. Also, the Upload-Artifact is probably the wrong Action. There should be a Create-Release action that does what we need, instead. Do you want to give that a shot?

- run: tar -cfvz PythonTurtle_for_Linux.tgz /home/runner/work/PythonTurtle/PythonTurtle/dist/PythonTurtle
- uses: actions/upload-artifact@v2
with:
name: PythonTurtle for Linux
path: /home/runner/work/PythonTurtle/PythonTurtle/dist/PythonTurtle
path: PythonTurtle_for_Linux.tar