File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : push
3
+ jobs :
4
+ build :
5
+ runs-on : ${{ matrix.os }}
6
+ strategy :
7
+ fail-fast : false
8
+ matrix :
9
+ cxx :
10
+ - clang++
11
+ - cl.exe
12
+ - g++
13
+ include :
14
+ - os : ubuntu-18.04
15
+ cxx : clang++
16
+ run : " true"
17
+ - os : ubuntu-18.04
18
+ cxx : g++
19
+ run : " true"
20
+ - os : windows-2019
21
+ cxx : cl.exe
22
+ run : ' "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
23
+ name : ${{ matrix.os }} - ${{ matrix.cxx }}
24
+ steps :
25
+ - uses : actions/checkout@v1
26
+ - uses : actions/setup-python@v1
27
+ with :
28
+ python-version : 2.x
29
+ - run : pip install scons
30
+ - run : ${{ matrix.run }}
31
+ - run : scons
32
+ env :
33
+ CXX : ${{ matrix.cxx }}
Original file line number Diff line number Diff line change @@ -15,9 +15,14 @@ def __init__(self, **kw):
15
15
16
16
def ConfigureCompiler (self ):
17
17
cxx = self .WhereIs (self ['CXX' ])
18
- cxx_bin = os .path .basename (cxx ).lower ()
18
+ cxx = os .path .normpath (cxx )
19
+ cxx_bin = os .path .basename (cxx )
19
20
cxx_dir = os .path .dirname (cxx )
20
21
22
+ print "XXX: " + cxx
23
+ print "XXX: " + cxx_bin
24
+ print "XXX: " + cxx_dir
25
+
21
26
if cxx_bin .startswith ("cl" ):
22
27
common = cxx_dir + "\..\.."
23
28
if os .path .exists (common + "\Common\IDE" ):
You can’t perform that action at this time.
0 commit comments