@@ -16,35 +16,58 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 name : [
2122 ubuntu-latest-gcc-10-debug,
2223 ubuntu-latest-clang-10-debug,
2324 ubuntu-latest-gcc-10-release,
24- ubuntu-latest-clang-10-release
25+ ubuntu-latest-clang-10-release,
26+ ubuntu-latest-clang-10-debug-libc++,
27+ ubuntu-latest-clang-10-release-libc++
2528 ]
2629
2730 include :
2831 - name : ubuntu-latest-gcc-10-debug
2932 compiler : g++-10
33+ flags : " "
3034 build_type : Debug
3135 install-compiler : sudo apt install g++-10
3236
3337 - name : ubuntu-latest-clang-10-debug
3438 compiler : clang++-10
39+ flags : " "
3540 build_type : Debug
3641 install-compiler : sudo apt install g++-10 && sudo apt install clang-10
3742
3843 - name : ubuntu-latest-gcc-10-release
3944 compiler : g++-10
45+ flags : " "
4046 build_type : Release
4147 install-compiler : sudo apt install g++-10
4248
4349 - name : ubuntu-latest-clang-10-release
4450 compiler : clang++-10
51+ flags : " "
4552 build_type : Release
4653 install-compiler : sudo apt install g++-10 && sudo apt install clang-10
4754
55+ - name : ubuntu-latest-clang-10-debug-libc++
56+ compiler : $HOME/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang++
57+ flags : " -stdlib=libc++"
58+ build_type : Debug
59+ install-compiler : " cd $HOME \
60+ && wget https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz \
61+ && tar -xvf clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz"
62+
63+ - name : ubuntu-latest-clang-10-release-libc++
64+ compiler : $HOME/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang++
65+ flags : " -stdlib=libc++"
66+ build_type : Release
67+ install-compiler : " cd $HOME \
68+ && wget https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz \
69+ && tar -xvf clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz"
70+
4871 steps :
4972 - uses : actions/checkout@v2
5073
5679 # Some projects don't allow in-source building, so create a separate build directory
5780 # We'll use this as our working directory for all subsequent commands
5881 run : cmake -E make_directory ${{runner.workspace}}/build
59-
82+
6083 - name : Configure CMake
6184 # Use a bash shell so we can use the same syntax for environment variable
6285 # access regardless of the host operating system
6588 # Note the current convention is to use the -S and -B options here to specify source
6689 # and build directories, but this is only available with CMake 3.13 and higher.
6790 # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
68- run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
91+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_FLAGS=${{ matrix.flags }}
6992
7093 - name : Build
7194 working-directory : ${{runner.workspace}}/build
0 commit comments