Skip to content

Commit 0c20e56

Browse files
committed
it still won't let me set the container for a specific step! The documentation sure reads like you can specify a container for a specific step, but it provides no example in doing so, so I've just been guessing https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer
> A container to run any steps in a job that don't already specify a container. If you have steps that use both script and container actions, the container actions will run as sibling containers on the same network with the same volume mounts. > > If you do not set a container, all steps will run directly on the host specified by runs-on unless a step refers to an action configured to run in a container. Fuck it. I'll just do it all in ubuntu. That really sucks, as there's advantages to doing things in a consistent docker image. Last time I tried this I got pip issues; here we go..
1 parent a3b2a03 commit 0c20e56

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ jobs:
1414
# container: debian:buster-slim
1515

1616
steps:
17-
- name: First setup fuse on the docker host
18-
run: |
19-
sudo apt-get install fuse
20-
sudo lsmod
21-
sudo modprobe fuse
22-
sudo lsmod
23-
shell: bash
17+
18+
- uses: actions/checkout@v2
2419

2520
- name: Execute script to build linux AppImage
26-
container: debian:buster-slim
2721
run: "build/linux/buildAppImage.sh"
2822
shell: bash
2923

build/linux/buildAppImage.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ set -x
2121

2222
PYTHON_PATH='/usr/bin/python3.7'
2323

24-
# CHECKOUT (TODO: maybe remove?)
25-
git clone https://github.com/maltfield/cross-platform-python-gui.git
26-
pushd cross-platform-python-gui
27-
2824
###################
2925
# INSTALL DEPENDS #
3026
###################
3127

3228
# install os-level depends
33-
apt-get update; apt-get -y install python3.7 python3-pip wget rsync fuse
29+
sudo apt-get update; sudo apt-get -y install python3.7 python3-pip wget rsync fuse
30+
31+
uname -a
32+
cat /etc/issue
33+
which python
34+
which python3.7
3435

3536
# setup a virtualenv to isolate our app's python depends
3637
${PYTHON_PATH} -m pip install --upgrade --user pip setuptools virtualenv

0 commit comments

Comments
 (0)