Skip to content

Commit

Permalink
Another update of the action.
Browse files Browse the repository at this point in the history
  • Loading branch information
joka921 committed Dec 11, 2023
1 parent 7b7eed1 commit c2ae358
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/install-compiler-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,9 @@ runs:
run : sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt update
shell: bash
if : inputs.compiler == 'gcc'
- name: Install gcc 11
run : sudo apt install -y gcc-11 g++-11
if : inputs.compiler == 'gcc' && inputs.compiler-version == 11
shell: bash
- name: Install gcc 12
run : sudo apt install -y gcc-12 g++-12
if : inputs.compiler == 'gcc' && inputs.compiler-version == 12
shell: bash
- name: Install gcc 13
run : sudo apt install -y gcc-13 g++-13
if : inputs.compiler == 'gcc' && inputs.compiler-version == 13
- name: Install gcc
run : sudo apt install -y gcc-${{inputs.compiler-version}} g++-${{inputs.compiler-version}}
if : inputs.compiler == 'gcc'
shell: bash
- name: Install clang
# The sed command fixes a bug in `llvm.sh` in combination with the latest version of
Expand Down

0 comments on commit c2ae358

Please sign in to comment.