ci: Add some messaging for better log debugging

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-14 01:56:19 +02:00 committed by Xaymar
parent 2e1f00d04d
commit 2478bb4308
1 changed files with 2 additions and 0 deletions

View File

@ -356,11 +356,13 @@ jobs:
- name: "Install Build Tools"
shell: bash
run: |
echo "Installing essential tools..."
sudo apt-get -qq update
sudo apt-get install build-essential checkinstall pkg-config cmake ninja-build git
# Install the appropriate compiler
IFS=$'-' compiler=($(echo "${{ matrix.compiler }}")) # ToDo: Can this be done without invoking a sub-shell?
echo "Installing '${compiler[0]}' version ${compiler[1]}..."
if [[ "${compiler[0]}" == "GCC" ]]; then
sudo apt-get install binutils gcc-${compiler[1]} g++-${compiler[1]}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${compiler[1]} 800 --slave /usr/bin/g++ g++ /usr/bin/g++-${compiler[1]}