Skip to content

Commit 1b83cc3

Browse files
committed
Fix windows builds
1 parent da1cbdd commit 1b83cc3

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/integrate.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,20 @@ jobs:
6666
compiler: clang
6767
version: "11"
6868

69-
- name: windows-2016-msvc2017
70-
os: windows-2016
69+
- name: windows-2019-msvc2015
70+
os: windows-2019
71+
compiler: cl
72+
version: "Visual Studio 14 2015 x64"
73+
74+
- name: windows-2019-msvc2017
75+
os: windows-2019
7176
compiler: cl
72-
version: "2017"
77+
version: "Visual Studio 15 2017 x64"
7378

7479
- name: windows-2019-msvc2019
7580
os: windows-2019
7681
compiler: cl
77-
version: "2019"
82+
version: "Visual Studio 16 2019"
7883

7984
- name: macOS-10.15-xcode-11
8085
os: macOS-10.15
@@ -135,18 +140,9 @@ jobs:
135140
echo "CXX=clang++" >> $GITHUB_ENV
136141
fi
137142
138-
- name: Add msbuild to PATH
139-
if: runner.os == 'Windows'
140-
uses: microsoft/[email protected]
141-
142-
# - name: MSBuild (Windows)
143-
# if: runner.os == 'Windows'
144-
# run: cmd.exe \c "C:/Program Files (x86)/Microsoft Visual Studio/${{matrix.version}}/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
145-
146143
- name: Dependencies (Windows)
147144
if: runner.os == 'Windows'
148145
run: |
149-
choco install ninja --global
150146
if ( "${{matrix.compiler}}" -eq "gcc" ) {
151147
choco install gcc --global
152148
echo "CC=gcc" >> $Env:GITHUB_ENV
@@ -169,7 +165,7 @@ jobs:
169165
- name: Configure CMake (Windows)
170166
if: runner.os == 'Windows'
171167
working-directory: ${{runner.workspace}}/build
172-
run: cmake $Env:GITHUB_WORKSPACE -G"Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=${{matrix.config}}
168+
run: cmake $Env:GITHUB_WORKSPACE -G"${{matrix.version}}" -DCMAKE_BUILD_TYPE=${{matrix.config}}
173169

174170
- name: Build
175171
working-directory: ${{runner.workspace}}/build

0 commit comments

Comments
 (0)