|
13 | 13 | fail-fast: false
|
14 | 14 | matrix:
|
15 | 15 | platform:
|
16 |
| - - { name: Ubuntu GCC, os: ubuntu-latest, compiler: g++, arch: "64", cmakepp: "", flags: "-DCMAKE_CXX_FLAGS=--coverage"} |
17 |
| - - { name: Ubuntu Clang, os: ubuntu-latest, compiler: clang++, arch: "64", cmakepp: "", flags: ""} |
| 16 | + - { name: Ubuntu GCC, os: ubuntu-latest, compiler: g++, arch: "64", cmakepp: "", flags: "-DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS=--coverage"} |
| 17 | + - { name: Ubuntu Clang, os: ubuntu-latest, compiler: clang++, arch: "64", cmakepp: "", flags: "-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=-stdlib=libc++"} |
18 | 18 | - { name: Windows 32, os: windows-latest, compiler: vs2019, arch: "32", cmakepp: "", flags: "-A Win32"}
|
19 | 19 | - { name: Windows 64, os: windows-latest, compiler: vs2019, arch: "64", cmakepp: "", flags: "-A x64"}
|
20 | 20 | - { name: MacOS, os: macos-latest, compiler: clang++, arch: "64", cmakepp: "", flags: ""}
|
|
32 | 32 | with:
|
33 | 33 | submodules: 'recursive'
|
34 | 34 |
|
35 |
| - - name: Setup Linux compiler |
36 |
| - if: runner.os == 'Linux' |
37 |
| - run: export CXX=${{matrix.platform.compiler}} |
| 35 | + - name: Setup Clang |
| 36 | + if: matrix.platform.compiler == 'clang++' && matrix.platform.os == 'ubuntu-latest' |
| 37 | + run: sudo apt install clang libc++-dev libc++abi-dev |
38 | 38 |
|
39 | 39 | - name: Setup Emscripten cache
|
40 | 40 | if: matrix.platform.compiler == 'em++'
|
|
0 commit comments