There was an error while loading. Please reload this page.
1 parent 914f712 commit 5c06dccCopy full SHA for 5c06dcc
.github/workflows/cmake.yml
@@ -51,6 +51,14 @@ jobs:
51
version: ${{env.EM_VERSION}}
52
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
53
54
+ # GCC 9 has a bug which prevents compilation of the testing framework, so switch to GCC 10.
55
+ - name: Setup GCC
56
+ if: matrix.platform.compiler == 'g++'
57
+ run: |
58
+ sudo apt install g++-10
59
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
60
+ sudo update-alternatives --set gcc /usr/bin/gcc-10
61
+
62
- name: Create Build Environment
63
run: cmake -E make_directory ${{github.workspace}}/build
64
0 commit comments