Skip to content

Commit

Permalink
chore(ci): install gcc10 to amazon linux 2
Browse files Browse the repository at this point in the history
Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
  • Loading branch information
bungle committed Sep 6, 2024
1 parent b861d1f commit 50af69b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@ jobs:
path: /usr/local/git
key: ${{ matrix.label }}-git-2.41.0

- name: Install newer GCC
if: (matrix.package == 'rpm') && matrix.image == 'amazonlinux-2' && steps.cache-git.outputs.cache-hit != 'true'
run: |
yum update -y
yum install -y gcc10.x86_64 gcc10-c++.x86_64
fi
# el-7,8, amazonlinux-2,2023 doesn't have git 2.18+, so we need to install it manually
- name: Install newer Git
if: (matrix.package == 'rpm') && matrix.image != '' && steps.cache-git.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 50af69b

Please sign in to comment.