Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Optimize build matrix #1048

Closed

Commits on Mar 16, 2022

  1. Configuration menu
    Copy the full SHA
    1a6be57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cca8cbb View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. configure: Don't abort if the compiler does not define __STDC__

    This removes a check for $ac_cv_prog_cc_c89 which is set by AC_PROG_CC
    if defined(__STDC__) in the preprocessor. (Standard compliant compilers
    are supposed to define __STDC__ to 1 but the value is actually not
    checked here.)
    
    Unfortunately, MSVC doesn't define it, so configure fails for MSVC.
    
    This check is not very useful in practice. Over 30 years after C89 has
    been released, there are no C compilers out there that are not
    sufficiently compliant with C89 for the project. The only practically
    relevant case was that the check rejected C++ compilers. A different
    method to reject C++ compilers will be introduced in a later commit.
    real-or-random committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    1cc0941 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b4f3d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09f3d71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b97256d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bdc4e0 View commit details
    Browse the repository at this point in the history
  6. ci: Add MSVC builds

    This adds MSVC builds built on Linux using wine. This requires some
    settings of tools and flags because the autotools support for MSVC is
    naturally somewhat limited.
    
    The advantage of this approach is that it is compatible with our
    existing CI scripts, so there's no need to write a Windows CI script
    (in PowerShell or similar). If we want to test building and running on
    Windows native (e.g., as supported by Cirrus CI) we could still do this
    in the future.
    
    Another advantage of this approach is that contributors can simply use
    the docker image if they need a MSVC installation in a non-Windows
    environment.
    
    This commit also improves the Dockerfile by grouping RUN commands
    according to Docker docs:
    https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
    real-or-random committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    6a9513f View commit details
    Browse the repository at this point in the history
  7. ci: Add 32-bit MinGW64 build

    This commit also raises the TEST_ITERS for wine tasks to the default.
    The overhead of wine is negligible, so we can certainly afford the same
    number of iterations as for native Linux tests.
    real-or-random committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    93e9d11 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e31871 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    c16afd0 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Configuration menu
    Copy the full SHA
    3a1a16c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c0a8ae View commit details
    Browse the repository at this point in the history