File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,20 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- os : [macos-10.15, windows-2019]
17- # has no effect on Windows, no problem
18- cxx : [clang++]
16+ # specify a specific compiler to build with each OS separately
17+ include :
18+ - os : macos-10.15
19+ cxx : clang++
20+ nickname : macos
1921 include :
20- # override compiler when on Ubuntu to g++-10 (chooses g++-9 by default)
2122 - os : ubuntu-20.04
2223 cxx : g++-10
24+ nickname : linux
25+ include :
26+ # NOTE: CXX seems to be ignored on Windows, but specify it anyway for consistency
27+ - os : windows-2019
28+ cxx : msvc
29+ nickname : windows
2330
2431 steps :
2532 - uses : actions/checkout@v2
5158 - name : Upload
5259 uses : actions/upload-artifact@v2
5360 with :
54- name : build_${{ github.sha }}_${{ matrix.os }}
61+ name : build_${{ github.sha }}_${{ matrix.nickname }}
5562 path : ${{github.workspace}}/artifacts
Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 os : [macos-10.15, ubuntu-20.04]
15- # has no effect on Windows, no problem
1615 cxx : [g++-10, clang++]
1716 include :
1817 - os : windows-2019
You can’t perform that action at this time.
0 commit comments