Skip to content

Commit be83269

Browse files
committed
cool, the last run confirmed that our ubuntu host can run AppImages and fuse is not an issue
* https://github.com/maltfield/cross-platform-python-gui/runs/725641922?check_suite_focus=true Let's see if I can figure out how to tell it to use the docker image for a single step only *after* we run a command on the docker host (ubuntu) to setup fuse. Oh, we'll also want to checkout the code before the script runs -- both actions inside the docker container. Possible? If this is too hard, I'll try harcoding the git clone in my script. Worst case, I'll abandon docker and just do everything directly in ubuntu.
1 parent 971872d commit be83269

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,27 @@ jobs:
1212
linux:
1313
runs-on: ubuntu-latest
1414
# container: debian:buster-slim
15-
#
15+
1616
steps:
17-
- uses: actions/checkout@v2
18-
- name: Execute script to build linux AppImage
17+
- name: First setup fuse on the docker host
1918
run: |
2019
sudo apt-get install fuse
2120
sudo lsmod
2221
sudo modprobe fuse
2322
sudo lsmod
24-
wget -O /tmp/python3.7.AppImage https://github.com/niess/python-appimage/releases/download/python3.7/python3.7.7-cp37-cp37m-manylinux2014_x86_64.AppImage
25-
chmod +x /tmp/python3.7.AppImage
26-
/tmp/python3.7.AppImage -c 'print("hello")'
2723
shell: bash
28-
#
29-
# - name: Execute script to build linux AppImage
30-
# run: "build/linux/buildAppImage.sh"
31-
# shell: bash
32-
#
33-
# - uses: actions/upload-artifact@v2
34-
# with:
35-
# name: Linux AppImage (x86_64)
36-
# path: dist/
24+
25+
- name: Execute script to build linux AppImage
26+
uses:
27+
- actions/checkout@v2
28+
- docker://debian:buster-slim
29+
run: "build/linux/buildAppImage.sh"
30+
shell: bash
31+
32+
- uses: actions/upload-artifact@v2
33+
with:
34+
name: Linux AppImage (x86_64)
35+
path: dist/
3736

3837
windows:
3938
runs-on: windows-latest

0 commit comments

Comments
 (0)