From d24b874828f2f5d29f42a22a5de67ab03a867cb5 Mon Sep 17 00:00:00 2001 From: Julek Kopczewski Date: Mon, 19 Aug 2024 01:53:14 +0200 Subject: [PATCH] Another version --- .github/workflows/main.yml | 8 +++++++- Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1 | 2 +- Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1 | 2 +- ...2cpp-1 => Dockerfile-ubuntu-2021.3.40f1-linux-il2cpp-1 | 8 ++++---- 4 files changed, 13 insertions(+), 7 deletions(-) rename Dockerfile-ubuntu-2021.2.12f1-linux-il2cpp-1 => Dockerfile-ubuntu-2021.3.40f1-linux-il2cpp-1 (96%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ecb80d1..bccc825 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1 b/Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1 index d8a12a2..6f71aa1 100644 --- a/Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1 +++ b/Dockerfile-ubuntu-2021.3.19f1-linux-il2cpp-1 @@ -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 ~ \ diff --git a/Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1 b/Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1 index e8894fe..b042fe3 100644 --- a/Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1 +++ b/Dockerfile-ubuntu-2021.3.24f1-linux-il2cpp-1 @@ -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 ~ \ diff --git a/Dockerfile-ubuntu-2021.2.12f1-linux-il2cpp-1 b/Dockerfile-ubuntu-2021.3.40f1-linux-il2cpp-1 similarity index 96% rename from Dockerfile-ubuntu-2021.2.12f1-linux-il2cpp-1 rename to Dockerfile-ubuntu-2021.3.40f1-linux-il2cpp-1 index c79736d..095c223 100644 --- a/Dockerfile-ubuntu-2021.2.12f1-linux-il2cpp-1 +++ b/Dockerfile-ubuntu-2021.3.40f1-linux-il2cpp-1 @@ -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 \ @@ -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 @@ -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 \ @@ -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 ~ \