Commit 7e51596
committed
Windows CI: clarify build and target/host environments
It's confusing to list jobs environments as Cygwin/MSYS2 as in the
Autoconf terminology these are the build environments, but the job is
targeting native Windows (*not* Cygwin or MSYS2) using MinGW-w64.
Here's the usual reminder: there are three OCaml ports (targets) to
Windows:
- Cygwin/MSYS2;
- MinGW-w64;
- MSVC.
All three ports use Cygwin/MSYS2 as their *build* environment.
Nowadays both Cygwin and MSYS2 use `x86_64-pc-cygwin` as their
triplet.
Without cross-compilation, the host and target environments are
identical.
Currently the opam CI for Windows does *not* check Cygwin, MSYS2, or
MSVC targets, but only MinGW-w64 on x86_64. As of 5.4, OCaml has *not*
been ported to Windows ARM64.
Cygwin/MSYS2 provide a POSIX emulation layer, so testing them as
target does *not* guarantee a native Windows compatibility.
MinGW-w64 and MSVC are totally different compilers and have a
different CLI API, ABI, and support different C/C++ dialects and
extensions. Testing one does *not* guarantee compatibility with the
other.
I hope that clearly identifying the build and host/target environments
will help remove any ambiguity around what platform is actually being
tested.
As I suspect users tend to care more about the target than the build
environment, I've chosen to display the job name reversed (as
target-host-build rather than the usual build-host-target) to make it
easier to identify the job when its name is truncated in the UI.1 parent bf4e23e commit 7e51596
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments