diff --git a/.github/workflows/ecode-nightly.yml b/.github/workflows/ecode-nightly.yml index 036c0cbee..f7f92f1f2 100644 --- a/.github/workflows/ecode-nightly.yml +++ b/.github/workflows/ecode-nightly.yml @@ -49,7 +49,7 @@ jobs: matrix: config: - arch: x86_64 - container: ubuntu-18.04 + container: ubuntu-20.04 runs-on: ${{ matrix.config.container }} env: CC: gcc @@ -74,7 +74,6 @@ jobs: - name: Install dependencies run: | sudo apt-get install -y libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev - bash projects/linux/scripts/install_gcc.sh bash projects/linux/scripts/install_sdl2.sh - name: Build ecode run: | diff --git a/projects/linux/scripts/install_gcc.sh b/projects/linux/scripts/install_gcc.sh deleted file mode 100644 index fbfc5d273..000000000 --- a/projects/linux/scripts/install_gcc.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -# Exit script on error -set -e - -# Specify the GCC version you want to install (e.g., 9, 10, 11) -GCC_VERSION=11 - -# Add the PPA for newer GCC versions -sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test -sudo apt-get update - -# Install the specified GCC version and its g++ counterpart -sudo apt-get install -y gcc-$GCC_VERSION g++-$GCC_VERSION - -# Update the alternatives to set the specified GCC version as the default -sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-$GCC_VERSION 100 -sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-$GCC_VERSION 100 -sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 100 -sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-$GCC_VERSION 100 - -# Confirm installation -gcc --version -g++ --version - -echo "GCC $GCC_VERSION installation is complete and set as the default."