X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:reply-to:from:date:message-id
	:subject:to:content-type; q=dns; s=default; b=dCCIeTYMDp5/lrst6B
	FbEQniqvII50KyTRfh4eT/7xIdRsnV5i0+CSunRq2IRmb95sj/6UtNPw9NYc5qkw
	xLfr3pmRCqL515h6YVaYf9hW2UjG/SYDvC12orxtKP5gjuXu8mdIr4pOdDhfzhXq
	780lgHSI8IM01+7eq3yuhhjD8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:reply-to:from:date:message-id
	:subject:to:content-type; s=default; bh=wAK2pE41s1Ue6fziC60m12Kf
	3mA=; b=l/lqEJc/utM964h2uct/V7GJX054OoaD/2pHIeOTCgi5mjNvBnKN3dgs
	dtSeQ89lLmivLxVaT/QhWUA1+oXlMNw3sPjl3PnqRe0fZW7+TGVQkRJtQv8Ak+ci
	TfCj6zPEPQjoFKoDI/XSa3t/kGPbpgs2RKsBguXmq65EcI8dyTQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hong, tea, 529, continuous
X-HELO: mail-wm0-f53.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:reply-to:from:date:message-id         :subject:to;        bh=neEk9RZAgnYxgSTlANAb58dI/PTUWjM9jxyPPayt3dI=;        b=MGYXeQbPcMZKIFQ4Q7ZFI/j4Wt8z3CQkAPCEBhe0pfaPdoSAFERQfycVBU34Umoxx1         CGJhErWxphUJTunt/jIdlVzbw5W8etwyD892YnM/dbhM4uP0dFeW4Mx42qqC5TFYiX7Q         ImiVU42XFoMimP8dlq2mUsG0Q9OFvFLJEczwGmq3OmULTVrZQJBRa0xRymNUOvsC10a2         EcTkgTMSaloOqJpXCurk6Bi6E3hkN3sR7FPYnww+wGz2fRVT5qRRUifymYgPPLNezgvx         ABWb/Hbv+Vc0guD8X+T6BD2h2TVEHb3soFyXnBJj439yBz1m0gPqQPsts/p+Lm+OUVZT         V/dQ==
X-Gm-Message-State: AD7BkJJXqTB3p5yJDJmvHOTiPJZGUOKGc6xwEqtRuNf1KflJubnoqJ1jb2oKTt/BZgQykMI+2O2LktIPawhqkQ==
X-Received: by 10.28.221.9 with SMTP id u9mr13691745wmg.92.1458573750702; Mon, 21 Mar 2016 08:22:30 -0700 (PDT)
MIME-Version: 1.0
Reply-To: fracting@gmail.com
From: Qian Hong <fracting@gmail.com>
Date: Mon, 21 Mar 2016 23:21:51 +0800
Message-ID: <CALd+sZTsq2T77qbUn6xyk0j_ABFm5A-3vri=gkQAkgJT1vmGBw@mail.gmail.com>
Subject: mintty: volunteer to maintain continuous integration build
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Dear Mintty developers,

I'd like to volunteer to maintain a continuous integration build and
test environment for the Mintty project, here is a demo how it looks
like:
https://tea-ci.org/fracting/mintty/27


The CI script is pretty simple, only a few lines:
https://github.com/mintty/mintty/pull/529/files
--- snip ---

build:
image: fracting/$$platform
pull: true
shell: $$platform
commands:
- cd src
- make wm_names.t
- make vk_names.t
- cd ..
- make
- bin/mintty.exe --log mintty.log --exec echo hello mintty
- grep hello mintty.log
- bin/mintty.exe --log - --exec echo hello stdout | grep hello
matrix:
platform:
- cygwin32
- msys32
--- snip ---

With the above solution applied, everytime either a patch is pushed to
the mintty repo or a pull request is submitted against the mintty
repo, Tea CI will trigger a new matrix build, it builds mintty for
both Cygwin 32 bit and MSYS2 32 bit. (64bit support is on the road). I
copied build scripts from MSYS2 mintty PKGBUILD, if there is anything
I was doing wrong please let me know and I'll improve them.

After build succeeded, a set of very simple test cases are called, I
hope they are useful to help us detect possible bugs like
https://github.com/mintty/mintty/issues/528 earlier, which was
discovered when I was working on the continuous integration server. If
needed, we can add more complex test cases to the CI scripts and cover
more potential bugs.

I didn't add irc notification or continuous deployment to the CI
scripts yet, but this should not be hard, I guess continuous
deployment could be useful for building snapshots for testers.

What do you think about the CI solution? Is there anything you don't
like, or is there any more details you want to know? Is there any
missing feature you are looking for? For example, in theory we could
use the CI server to test 100 different kinds of locale in a matrix
build, but I'm not sure if that worth to do. Also, we could extent the
CI script to capture and upload screenshot during testing, it won't be
too easy but also won't be too hard, I'm just not sure if anyone need
it.

Please share me what you think, I'm willing to do any kind of
adjustment you like in order to get
https://github.com/mintty/mintty/pull/529 accepted.
If you like the CI solution, after merge PR 529, please register
tea-ci.org and activate the mintty project using the Web UI, and then
just waiting for pushes/prs ;)

Thanks for the great job on Mintty! My very best regards.


-- 
Regards,
Qian Hong

-
http://www.winehq.org

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

