Skip to content

Commit

Permalink
Do not use exclude
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Vaneev <warchantua@gmail.com>
  • Loading branch information
Warchant committed Sep 29, 2019
1 parent cea172c commit 4087ad6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:
strategy:
matrix:
# 2 jobs in total
cc: [gcc, clang]
cxx: [g++, clang++]
exclude:
# exclude these builds
- cc: gcc
cxx: clang++
- cc: clang
cxx: g++
compiler: [{
"cc": "gcc",
"cxx": "g++"
}, {
"cc": "clang",
"cxx": "clang++"
}]
steps:
- uses: actions/checkout@v1
name: checkout
Expand All @@ -43,8 +42,8 @@ jobs:
sudo pip3 install scikit-build cmake requests gitpython gcovr pyyaml
- name: cmake
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
CC: ${{ matrix.compiler["cc"] }}
CXX: ${{ matrix.compiler["cxx"] }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # has to be included to access other secrets
GITHUB_HUNTER_USERNAME: ${{ secrets.GITHUB_HUNTER_USERNAME }}
GITHUB_HUNTER_TOKEN: ${{ secrets.GITHUB_HUNTER_TOKEN }}
Expand Down

0 comments on commit 4087ad6

Please sign in to comment.