From b2d0981f2e6b365451c9fd3ecbb15a86755dbc44 Mon Sep 17 00:00:00 2001
From: Eric Kilmer <eric.d.kilmer@gmail.com>
Date: Sun, 16 May 2021 00:30:38 -0400
Subject: [PATCH] CI: Remove GCC 11 to fix Ubuntu 18.04 builds (#156)

Required due to issue in GHA virtual environment
https://github.com/actions/virtual-environments/issues/3376
---
 .github/workflows/ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 754dbc0..3b35eb4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,6 +44,11 @@ jobs:
     - uses: actions/checkout@v2
       with:
         submodules: 'true'
+    # https://github.com/actions/virtual-environments/issues/3376
+    - name: Workaround GHA Issue with GCC 11
+      if: matrix.compiler.CC == 'clang' && matrix.platform == 'ubuntu-18.04'
+      run: |
+        sudo apt remove libgcc-11-dev gcc-11
     - name: Enable ASan+UBSan Sanitizers
       if: matrix.build-type == 'Debug'
       run: |