Skip to content

Commit 7d351de

Browse files
authored
Merge pull request #506 from nirbheek/try-to-fix-uwp-ci-failure
Re-enable UWP now that Meson 0.55.2 has been released
2 parents 8604922 + bdb7964 commit 7d351de

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.travis.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -287,47 +287,47 @@ matrix:
287287
# Test MSVC 32-bit build
288288
- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' x86 \& set CC=cl \& meson setup --werror builddir-msvc-x86 \& meson compile -C builddir-msvc-x86 \& meson test -v -C builddir-msvc-x86
289289
# Test MSVC 64-bit UWP build. This is a cross build because we cannot run UWP binaries natively.
290-
#- |
291-
# cat > uwp-amd64-cross-file.txt <<EOF
292-
# [host_machine]
293-
# system = 'windows'
294-
# cpu_family = 'x86_64'
295-
# cpu = 'x86_64'
296-
# endian = 'little'
297-
#
298-
# [properties]
299-
# c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
300-
# c_link_args = ['-APPCONTAINER', 'WindowsApp.lib']
301-
# needs_exe_wrapper = true
302-
#
303-
# [binaries]
304-
# ar = 'lib'
305-
# c = 'cl'
306-
# cpp = 'cl'
307-
# pkgconfig = 'false'
308-
# EOF
309-
#- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64 uwp \& meson setup --werror --cross-file uwp-amd64-cross-file.txt builddir-uwp-amd64 \& meson compile -C builddir-uwp-amd64
290+
- |
291+
cat > uwp-amd64-cross-file.txt <<EOF
292+
[host_machine]
293+
system = 'windows'
294+
cpu_family = 'x86_64'
295+
cpu = 'x86_64'
296+
endian = 'little'
297+
298+
[properties]
299+
c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
300+
c_link_args = ['-APPCONTAINER', 'WindowsApp.lib']
301+
needs_exe_wrapper = true
302+
303+
[binaries]
304+
ar = 'lib'
305+
c = 'cl'
306+
cpp = 'cl'
307+
pkgconfig = 'false'
308+
EOF
309+
- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64 uwp \& meson setup --werror --cross-file uwp-amd64-cross-file.txt builddir-uwp-amd64 \& meson compile -C builddir-uwp-amd64
310310
# Test MSVC ARM64 UWP build. This is a cross build.
311-
#- |
312-
# cat > uwp-arm64-cross-file.txt <<EOF
313-
# [host_machine]
314-
# system = 'windows'
315-
# cpu_family = 'aarch64'
316-
# cpu = 'aarch64'
317-
# endian = 'little'
318-
#
319-
# [properties]
320-
# c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
321-
# c_link_args = ['-APPCONTAINER', 'WindowsApp.lib']
322-
# needs_exe_wrapper = true
323-
#
324-
# [binaries]
325-
# ar = 'lib'
326-
# c = 'cl'
327-
# cpp = 'cl'
328-
# pkgconfig = 'false'
329-
# EOF
330-
#- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64_arm64 uwp \& meson setup --werror --cross-file uwp-arm64-cross-file.txt builddir-uwp-arm64 \& meson compile -C builddir-uwp-arm64
311+
- |
312+
cat > uwp-arm64-cross-file.txt <<EOF
313+
[host_machine]
314+
system = 'windows'
315+
cpu_family = 'aarch64'
316+
cpu = 'aarch64'
317+
endian = 'little'
318+
319+
[properties]
320+
c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
321+
c_link_args = ['-APPCONTAINER', 'WindowsApp.lib']
322+
needs_exe_wrapper = true
323+
324+
[binaries]
325+
ar = 'lib'
326+
c = 'cl'
327+
cpp = 'cl'
328+
pkgconfig = 'false'
329+
EOF
330+
- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64_arm64 uwp \& meson setup --werror --cross-file uwp-arm64-cross-file.txt builddir-uwp-arm64 \& meson compile -C builddir-uwp-arm64
331331

332332
# android build
333333
- os: linux

0 commit comments

Comments
 (0)