Project

General

Profile

Actions

Feature #15181

closed

Azure pipelines vc builds? help needed

Added by MSP-Greg (Greg L) over 5 years ago. Updated about 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:89222]

Description

Wasn't long ago that all the Appveyor CI did was a vc120 job. Now, with three jobs, it can get quite backed up. Also, Appveyor seems to be inconsistent, as the test times can vary quite a bit, along with intermittent failure issues.

With the recent introduction of Azure pipelines, I thought I'd take a look, as they offer Ubuntu 16.04, MacOS, and a few Windows images. They also allow parallel builds (up to 10?) like Travis. Hence, the Windows CI time could be cut down to approx one third of what it is now.

Notes:

  1. The image that contains both vc120 & vc140 is the vs2015-win2012r2 image. It does not contain any of the items needed for the vc builds. No bison, sed, openssl, or 7z to help with installing them.

  2. Appveyor is using 'OpenSSL-Win64' (? on vers). It's currently built with vc140. For the Azure testing, I built two OpenSSL 1.1.1 packages, one built with vc120, one with vc140. I also created a special 7zip package, as the Windows Explorer shell integration makes it difficult to install the standard exe or msi packages in Azure.

  3. The current pipelines web pages are very graphical, many things don't appear to have hard links available.

Both the VC builds fail around generating parse.c, the link for the build is at:
https://dev.azure.com/MSP-Greg/ruby/_build/results?buildId=83&view=logs

For the above link, (graphical UI), one needs to click in the area of the red 'x' with 'Build' to the right of it. That should open the log for that 'step'.

Since the current build system requires bison & sed, rather than download & install the whole MSYS2 system, I just downloaded the packages needed for bison & sed. Both respond to --help and --version, and the path is set correctly.

But, the nmake commmand stops as shown below:

compiling ../pack.c
pack.c
generating parse.c
NMAKE : fatal error U1077: 'D:\msys64\usr\bin\bison.EXE' : return code '0xd00'
Stop.

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

compiling ../version.c
version.c
generating parse.c
NMAKE : fatal error U1077: 'D:\msys64\usr\bin\bison.EXE' : return code '0xd00'
Stop.
The system cannot find the path specified.

I don't know what's causing this failure. Any suggestions would be appreciated.

Thanks, Greg

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0