Skip to content

Commit

Permalink
Update gcc/clang on Ubuntu CI
Browse files Browse the repository at this point in the history
Only update 64bit, leave 32bit on the default gcc, gcc-10 fails:

CMake Error at /usr/local/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/usr/bin/gcc"

  is not able to compile a simple test program.
  • Loading branch information
Grumbel committed Apr 22, 2021
1 parent 4c5370d commit 30395b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ jobs:
run: |
sudo apt-get update
sudo apt install -y gcc-multilib g++-multilib cmake build-essential \
automake clang-6.0 g++-8 libc++-dev libogg-dev libvorbis-dev \
automake clang g++-10 libc++-dev libogg-dev libvorbis-dev \
libopenal-dev libboost-all-dev libsdl2-dev libsdl2-image-dev \
libfreetype6-dev libharfbuzz-dev libfribidi-dev libglib2.0-dev \
gtk-doc-tools rpm sshpass libraqm-dev libglew-dev libcurl4-openssl-dev libfmt-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
sudo patch /usr/include/boost/format/alt_sstream_impl.hpp mk/ubuntu/boost-allocator.patch
- name: Install 32-bit linux dependencies
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 32 }}
Expand Down

0 comments on commit 30395b3

Please sign in to comment.