[#97063] [Ruby master Bug#16608] ConditionVariable#wait should return false when timeout exceeded — shugo@...

Issue #16608 has been reported by shugo (Shugo Maeda).

10 messages 2020/02/05

[#97084] [Ruby master Feature#16614] New method cache mechanism for Guild — ko1@...

Issue #16614 has been reported by ko1 (Koichi Sasada).

18 messages 2020/02/07

[#97248] [Ruby master Bug#16651] Extensions Do Not Compile on Mingw64 — cfis@...

Issue #16651 has been reported by cfis (Charlie Savage).

17 messages 2020/02/24

[#97289] [Ruby master Bug#16658] `method__cache__clear` DTrace hook was dropped without replacement — v.ondruch@...

Issue #16658 has been reported by vo.x (Vit Ondruch).

9 messages 2020/02/27

[#97307] [Ruby master Feature#16663] Add block or filtered forms of Kernel#caller to allow early bail-out — headius@...

Issue #16663 has been reported by headius (Charles Nutter).

29 messages 2020/02/28

[#97310] [Ruby master Feature#16665] Add an Array#except_index method — alexandr1golubenko@...

Issue #16665 has been reported by alex_golubenko (Alex Golubenko).

12 messages 2020/02/29

[ruby-core:97156] [Ruby master Misc#15851] stdlib extension gems - building/testing on Windows

From: hsbt@...
Date: 2020-02-14 11:37:09 UTC
List: ruby-core #97156
Issue #15851 has been updated by hsbt (Hiroshi SHIBATA).

Assignee set to hsbt (Hiroshi SHIBATA)
Status changed from Open to Closed

There is no feedback over the 6 months.

----------------------------------------
Misc #15851: stdlib extension gems - building/testing on Windows
https://bugs.ruby-lang.org/issues/15851#change-84262

* Author: MSP-Greg (Greg L)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Along with maintaining ruby-loco, I've encouraged and helped a few popular extension gems with building/testing on Windows/Appveyor.

I decided that a PowerShell based system to compile, build the gem, followed by gem install & test was the best option.  It's on Appveyor as a 7z file, and three files in the gem/repo are needed to run it.

For example output, see https://ci.appveyor.com/project/puma/puma/builds/24337063

A few things I addressed with it:

1. Updates the MSYS2 build system, which can get rather outdated on Appveyor.

2. Handles loading the correct version of OpenSSL back to Ruby 2.0.

3. Installs packages in either the old MSYS build system or MSYS2.

4. Can install and use ragel.

5. Parses test results from Minitest, Rspec, & test-unit.

Since #1 is expensive, the system builds a standard pre-compiled gem file usable with all Ruby versions under test (test files are included in the gem).  It then installs the gem in each Ruby version, and runs the tests using a custom rake file.  Hence, one build job handles multiple Ruby versions.  This also may speed up Appveyor CI times.

The code is here:
https://github.com/MSP-Greg/av-gem-build-test

Since the Ruby organization has a number of extension gems/repos, script like this would make things much simpler for Windows CI.  I've build several extension gems with it, and I think it's stable.

Hence, might this be of interest?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next