Skip to content

Commit

Permalink
Another version
Browse files Browse the repository at this point in the history
  • Loading branch information
julkiewicz committed Aug 19, 2024
1 parent fe5806e commit d24b874
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ jobs:
fail-fast: false
matrix:
unity:
- { version: "ubuntu-2021.2.12f1-linux-il2cpp-1" }
- { version: "ubuntu-2021.3.19f1-linux-il2cpp-1" }
- { version: "ubuntu-2021.3.24f1-linux-il2cpp-1" }
- { version: "ubuntu-2021.3.40f1-linux-il2cpp-1" }
coverage:
- false
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- name: Clean up unused Docker resources
run: docker system prune -af

- name: Check disk space
run: df -h

- name: Set up Git repository
uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN apt-get -q install -y curl python-apt xterm xz-utils zenity \
# run steam for the first time
RUN X -config /etc/X11/xorg.conf & sleep 5 \
&& export DISPLAY=:0 \
&& steam & sleep 200
&& steam & sleep 300

# stop steam & X
RUN echo ~ \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN apt-get -q install -y curl python-apt xterm xz-utils zenity \
# run steam for the first time
RUN X -config /etc/X11/xorg.conf & sleep 5 \
&& export DISPLAY=:0 \
&& steam & sleep 200
&& steam & sleep 300

# stop steam & X
RUN echo ~ \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM unityci/editor:ubuntu-2021.2.12f1-linux-il2cpp-1
FROM unityci/editor:ubuntu-2021.3.40f1-linux-il2cpp-3

# updating apt with steam packages
RUN apt-get -q update \
Expand All @@ -9,7 +9,7 @@ RUN apt-get -q update \
&& echo "deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam" >> /etc/apt/sources.list.d/steam-stable.list \
&& apt-get -q update \
&& apt-get -q install -y software-properties-common \
&& add-apt-repository multiverse \
&& add-apt-repository -y multiverse \
&& dpkg --add-architecture i386 \
&& apt-get -q update

Expand Down Expand Up @@ -79,7 +79,7 @@ RUN apt-get -q install -y sed
RUN sed -i "/Don't allow running as root/{n;N;N;N;s/.*/# Deleted by a script/;}" /usr/bin/steam

# install steam deps
RUN apt-get -q install -y curl python-apt xterm xz-utils zenity \
RUN apt-get -q install -y curl python3-apt xterm xz-utils zenity \
&& apt-get -q install -y libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386 \
wget libgl1-mesa-glx:i386 libcurl4-openssl-dev pkg-config libegl1:i386 libgbm1:i386 \
xdg-desktop-portal xdg-desktop-portal-gtk at-spi2-core libglx-mesa0:i386 libgl1-mesa-dri:i386 \
Expand All @@ -88,7 +88,7 @@ RUN apt-get -q install -y curl python-apt xterm xz-utils zenity \
# run steam for the first time
RUN X -config /etc/X11/xorg.conf & sleep 5 \
&& export DISPLAY=:0 \
&& steam & sleep 200
&& steam & sleep 300

# stop steam & X
RUN echo ~ \
Expand Down

0 comments on commit d24b874

Please sign in to comment.