Skip to content

Commit

Permalink
concourse: windows 2.4 build
Browse files Browse the repository at this point in the history
using concourse-gem's windows ruby awareness

[skip ci]
  • Loading branch information
flavorjones committed Sep 25, 2017
1 parent 6bbc9d7 commit 7afdf12
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gem "rake-compiler", "~>1.0.3", :group => [:development, :test]
gem "rake-compiler-dock", "~>0.6.0", :group => [:development, :test]
gem "racc", "~>1.4.14", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
gem "rexical", "~>1.0.5", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
gem "concourse", "~>0.11", :group => [:development, :test]
gem "concourse", "~>0.15", :group => [:development, :test]
gem "rdoc", "~>4.0", :group => [:development, :test]
gem "hoe", "~>3.16", :group => [:development, :test]

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ HOE = Hoe.spec 'nokogiri' do
["rake-compiler-dock", "~> 0.6.0"],
["racc", "~> 1.4.14"],
["rexical", "~> 1.0.5"],
["concourse", "~> 0.11"],
["concourse", "~> 0.15"],
]

if java?
Expand Down
12 changes: 10 additions & 2 deletions concourse/nokogiri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ groups:
- "rbx-<%= rbx_version %>-system"
- "rbx-<%= rbx_version %>-vendored"
<% end %>
- win-ruby-2.3-devkit
<% for ruby_version in RUBIES[:windows] %>
- "win-ruby-<%= ruby_version %>-devkit"
<% end %>


- name: PRs
jobs:
Expand Down Expand Up @@ -257,21 +260,26 @@ jobs:
path: ci/concourse/tasks/rake-test/run.sh
<% end %>

- name: win-ruby-2.3-devkit
<% for ruby_version in RUBIES[:windows] %>
- name: win-ruby-<%= ruby_version %>-devkit
public: true
plan:
- get: ci
- get: nokogiri
trigger: true
passed: ["ruby-<%= ruby_version %>-system"]
- task: rake-test
config:
platform: windows
inputs:
- name: ci
- name: nokogiri
params:
WIN_RUBY_VERSION: "<%= ruby_version %>"
run:
path: powershell
args: ["-File", "ci/concourse/tasks/rake-test/run.ps1"]
<% end %>

#
# PRs
Expand Down

0 comments on commit 7afdf12

Please sign in to comment.