Commit Graph

14 Commits

Author SHA1 Message Date
Edward Thomson
05a8d8d7be ci: show PATH in build script 2023-12-19 11:27:17 +00:00
Edward Thomson
b857122f16 ci: convert PATH correctly to Cygwin format on Windows
We provide `BUILD_PATH` to our build script; provide it and mutate
`PATH` when running our tests as well.

We were previously using `cygpath` to try to convert a _list_ of Windows
paths into cygwin / Unix style `PATH` format. This does not work -- it
treats the path list as a single path (with semicolons -- understandably
as those are allowed characters in a Windows path).

For example, `C:\One;C:\Two;C:\Three` is converted to
`/c/one;c:/two;c:/three`.

Add a new function to convert path lists, so that paths are split by
semicolon and fed to `cygpath` independently, then re-joined with a
colon. This means that our example `C:\One;C:\Two;C:\Three` is correctly
converted to `/c/one:/c/two:/c/three`.
2023-02-09 12:10:40 +00:00
Edward Thomson
e48bb3b708 ci: allow for build-time (cmake --build) options
Allow for options in the `cmake --build` phase, so that callers can
specify (eg) the config type.
2022-02-27 23:44:19 -05:00
Edward Thomson
75888f273e ci: don't use ninja on macOS
Ninja is not installed by default on the macOS machines; stop trying to
use it.  Instead use `make -j` which should be roughly equivalent in
performance but supported everywhere.
2021-01-15 12:12:07 +00:00
Edward Thomson
3d6b90359d ci: stop using deprecated set-env in GitHub Actions
(And move the ci scripts into the `ci` directory.)
2020-11-18 18:08:23 +00:00
Patrick Steinhardt
ffac520e83 azure: move build scripts into "azure-pipelines" directory
Since we have migrated to Azure Pipelines, we have deprecated and
subsequentally removed all infrastructure for AppVeyor and
Travis. Thus it doesn't make a lot of sense to have the split
between "ci/" and "azure-pipelines/" directories anymoer, as
"azure-pipelines/" is essentially our only CI.

Move all CI scripts into the "azure-pipelines/" directory to have
everything centrally located and to remove clutter in the
top-level directory.
2019-07-20 19:10:10 +02:00
Edward Thomson
44f8213480 ci: provide more information about OS
Subtle changes in the host OS can have impacts in the CI system that
may be hard to debug.  We previously showed the results of `uname` which
can be difficult to interpret.  Provide more information where
available.
2019-02-13 11:18:35 +00:00
Edward Thomson
943181c2ef Revert "clar: introduce CLAR_XML option"
This reverts commit a2d73f5643.
Using clar to propagate the XML settings was a mistake.
2018-09-10 15:03:23 +01:00
Edward Thomson
a84863fc8d ci: write xml during test runs 2018-09-06 11:18:59 +01:00
Patrick Steinhardt
9008465719 ci: enable compilation with "-Werror"
During the conversion of our CI scripts in bf418f09c (ci: refactor unix
ci build/test scripts, 2018-07-14), we accidentally dropped the
"-DENABLE_WERROR=ON" switch in our cmake invocation. Re-add it to help
us catch compiler warnings early.
2018-08-06 12:04:50 +02:00
lhchavez
60e610a236 fuzzers: add build support and instructions
This change adds support for building a fuzz target for exercising the
packfile parser, as well as documentation. It also runs the fuzzers in
Travis to avoid regressions.
2018-08-03 09:48:15 +02:00
Edward Thomson
dc6e80e2ce ci: perform clang builds on Linux 2018-07-26 15:35:39 +01:00
Edward Thomson
67f5304f55 ci: introduce vsts builds 2018-07-26 15:34:47 +01:00
Edward Thomson
bf418f09ce ci: refactor unix ci build/test scripts 2018-07-26 14:07:00 +01:00