Skip to content

Commit

Permalink
Trying to get GCC7 working on Ubuntu 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ABenC377 committed Dec 12, 2024
1 parent 1e315be commit dbc091e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup_gcc_ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ runs:
- name: Install gcc
shell: bash
run: |
if [[ ${{ inputs.gcc-version == 'gcc-7' }} ]]; then
echo "deb http://archive.ubuntu.com/ubuntu focal main universe" >> "/etc/apt/sources.list"
fi
apt-get -y install ${{ inputs.gcc-version }}
apt-get -y install g++-$( echo ${{ inputs.gcc-version }} | cut -d '-' -f 2)
apt update && apt upgrade -y
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/LINUX_BUILD_TEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:
# Removes unecessary jobs as jobs are generated in the order seen in the matrix.
# "Exclude" is to keep job ordering nice i.e. keeping ubuntu jobs next to each other in the list.
#######################################
exclude:
- OS: 'ubuntu:20.04'
COMPILER: 'gcc-7'
exclude:

# need redhat 8 for gcc 7 and 8 | redhat 9 for gcc 9 and 10
- OS: 'redhat/ubi8:latest'
Expand Down

0 comments on commit dbc091e

Please sign in to comment.