@@ -60,10 +60,17 @@ jobs:
6060 - arch : x86_64
6161 container : ubuntu-22.04
6262 runs-on : ${{ matrix.config.container }}
63+ container :
64+ image : ubuntu:20.04
6365 env :
6466 CC : gcc
6567 CXX : g++
6668 steps :
69+ - name : Install essentials
70+ run : |
71+ export DEBIAN_FRONTEND=noninteractive
72+ apt-get update
73+ apt-get install -y --no-install-recommends software-properties-common build-essential git ca-certificates
6774 - name : Checkout Code
6875 uses : actions/checkout@v4
6976 with :
@@ -74,33 +81,33 @@ jobs:
7481 - name : Set Environment Variables
7582 run : |
7683 echo "$HOME/.local/bin" >> "$GITHUB_PATH"
77- echo "/usr/lib/ccache" >> "$GITHUB_PATH"
7884 echo "INSTALL_REF=${{ needs.release.outputs.version }}" >> "$GITHUB_ENV"
7985 echo "RARCH=$(uname -m)" >> "$GITHUB_ENV"
8086 echo $(ldd --version)
81- echo $(gcc --version)
82- - name : Update Packages
83- run : |
84- sudo add-apt-repository -y universe
85- sudo add-apt-repository -y multiverse
86- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
87- sudo apt-get update
87+ - name : Mark Git directory as safe
88+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
8889 - name : Install dependencies
8990 run : |
90- sudo apt-get install -y gcc-13 g++-13 libdw-dev
91- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 10
92- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 10
93- sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
94- sudo update-alternatives --set cc /usr/bin/gcc
95- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
96- sudo update-alternatives --set c++ /usr/bin/g++
97- sudo update-alternatives --config gcc
98- sudo update-alternatives --config g++
99- sudo apt-get install -y libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev
91+ apt-get install -y curl libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev sudo file appstream
92+ curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
93+ apt-get install -y nodejs
94+ add-apt-repository -y universe
95+ add-apt-repository -y multiverse
96+ add-apt-repository -y ppa:ubuntu-toolchain-r/test
97+ apt-get update
98+ apt-get install -y gcc-13 g++-13 libdw-dev
99+ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 10
100+ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 10
101+ update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
102+ update-alternatives --set cc /usr/bin/gcc
103+ update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
104+ update-alternatives --set c++ /usr/bin/g++
105+ update-alternatives --config gcc
106+ update-alternatives --config g++
100107 bash projects/linux/scripts/install_sdl2.sh
101108 - name : Build ecode
102109 run : |
103- bash projects/linux/ecode/build.app.sh --arch ${{ matrix.config.arch }}
110+ bash projects/linux/ecode/build.app.sh --with-static-cpp -- arch ${{ matrix.config.arch }}
104111 - name : Upload Files
105112 uses : softprops/action-gh-release@v2
106113 with :
0 commit comments