Commit Graph

19 Commits

Author SHA1 Message Date
David Korth
d87aa0dbde appveyor.cmd, appveyor.sh: Add ENABLE_ASTC to OPTEN.
Also ENABLE_OPENMP in appveyor.cmd.

Note that it doesn't actually do anything right now, since we're not
doing OFF/ON builds in AppVeyor anymore due to taking too long and
timing out after 1hr.
2025-03-29 22:38:25 -04:00
David Korth
bbbd685077 appveyor.(cmd|sh): Add ENABLE_NLS to the options list.
[librptext] conversion.cpp: #include <cstring> to fix breakage if
-DENABLE_NLS=OFF. (i18n.h includes gettext.h, which includes string.h.)
2023-03-18 10:28:25 -04:00
David Korth
8ab150f9fc appveyor.cmd: s/%configuration%/%CONFIGURATION%/
Probably not needed here, since variable names are case-insensitive on
Windows (but not on Linux).
2022-08-30 21:58:26 -04:00
David Korth
88757791c6 appveyor.cmd: FIXME: Get multiple compilers working again.
For now, it's MSVC only for the Windows build.
2022-08-30 21:58:06 -04:00
David Korth
6a91ee5759 appveyor.yml: Initial attempt to use AppVeyor for Linux builds.
- Temporarily disabled most of the Windows builds.

- Added Linux build scripts, including a script run as root to
  install packages via `apt-get`.
2022-08-30 18:01:03 -04:00
David Korth
7730aebc96 appveyor.cmd: Switch from MinGW Makefiles to Ninja for faster MinGW-w64 builds. 2021-09-06 03:34:51 -04:00
David Korth
0bcc45e8e5 AppVeyor: Build with optional features turned off, then turned on.
This will probably increase build times, but it will improve coverage of
lesser-used functionality.
2020-09-05 11:12:30 -04:00
David Korth
3370832b21 Change USE_SECCOMP to ENABLE_EXTRA_SECURITY and use it for Windows and OpenBSD, too.
This option now controls seccomp(), Win32 low integrity processes,
and OpenBSD pledge() and tame(). It's recommended to keep it enabled
everywhere, though on Linux it may need to be disabled if a glibc
update breaks things due to new syscalls.

appveyor.cmd, travis.sh: Set ENABLE_EXTRA_SECURITY.
2020-08-20 19:05:01 -04:00
David Korth
9399248f81 appveyor: Actually update the scripts to use MSVC 2015, not just the image. 2020-08-12 21:30:33 -04:00
David Korth
a022658de1 appveyor.yml, appveyor.cmd: Initial attempt to add support for MinGW-w64 on AppVeyor.
This uses a new matrix configuration with platform, configuration,
and compiler. Note that we're only testing debug builds with MinGW-w64
for now.

Notes:

- git has to be removed from the path. Otherwise, cmake thinks that it's
  running from a UNIX shell, which requires MSYS Makefiles.
  - Reference: https://help.appveyor.com/discussions/problems/3193-cmake-building-for-mingw-issue-with-git-shexe
  - Note that git is 64-bit in AppVeyor now, and sh is in usr/bin/. I'm
    checking for all four configurations.

- Build in a build/ subdirectory in all configurations.

- MSVC configurations are temporarily disabled so we can fix all MinGW-w64
  issues without having to wait for the MSVC builds to finish.

- The VS2013 image has MinGW-w64 x86_64 7.2.0, not 8.1.0.
  The AppVeyor documentation is incorrect.
2020-03-08 14:42:37 -04:00
David Korth
c3f48b43a7 Enable PCH in the Debian, travis-ci, and AppVeyor builds.
It was enabled by default on AppVeyor, but now we're explicit.

This should reduce build times slightly on the Ubuntu PPA servers and
travis-ci.
2020-02-23 12:52:15 -05:00
David Korth
39eed238cd appveyor.cmd: Updated the CMake command for MSVC 2013. 2018-01-24 01:18:24 -05:00
David Korth
73ba353123 Disable LTO in AppVeyor and travis-ci release builds to reduce build time. 2017-05-20 17:03:10 -04:00
David Korth
e1daca2e67 appveyor.cmd: Print the CMake version. 2017-04-09 14:02:07 -04:00
David Korth
6f60b84b8e appveyor.yml: Use cURL from Git's path.
This should fix NASM installation.

References:
- https://github.com/facebookincubator/create-react-app/pull/1868
- d9d9fe46c5
2017-04-09 12:07:26 -04:00
David Korth
8e3dfc2e23 appveyor.yml: Disable NASM and JPEG, again.
`appveyor DownloadFile` is triggering CMake for some reason, regardless
of the comments. I'm not sure what to do here.
2017-03-21 20:26:23 -04:00
David Korth
f0a2dad379 appveyor.cmd: Use the v140_xp toolset. 2017-03-20 21:47:26 -04:00
David Korth
24bcaba234 Explicitly enable JPEG in all builds.
debian/control: Added a build-time dependency on libjpeg-dev.
2017-02-26 20:15:25 -05:00
David Korth
ca86c38d4b Rename *.bat to *.cmd.
These batch files take advantage of newer functionality in NT cmd,
so they should be named *.cmd instead of *.bat.
2016-10-21 20:03:08 -04:00