Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarryd Beck <jarro.2783@gmail.com>2021-10-09 05:09:10 +0300
committerJarryd Beck <jarro.2783@gmail.com>2021-10-09 07:47:48 +0300
commit0a60743b821f311ee0643df13578e376550e4786 (patch)
tree9f8f14753602eab332053bdaf7b7f07de940305e
parent54489e4276d4d499083baecfb0289a8d38b41a6c (diff)
Add more compilersadd_compilers
-rw-r--r--.github/workflows/cmake.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 2bb3c8f..3589fcb 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -21,15 +21,16 @@ jobs:
strategy:
matrix:
- os: [ubuntu-18.04, ubuntu-20.04]
-
+ os: [ubuntu-18.04]
+ compiler: [g++-7, g++-9, g++-10, clang++]
+
steps:
- uses: actions/checkout@v2
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
- run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
+ run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=${{matrix.compiler}}
- name: Build
# Build your program with the given configuration