File tree Expand file tree Collapse file tree 4 files changed +45
-5
lines changed Expand file tree Collapse file tree 4 files changed +45
-5
lines changed Original file line number Diff line number Diff line change 64
64
- run : bundle install --binstubs --standalone
65
65
- run : script/run_build
66
66
67
+ legacy :
68
+ name : Legacy Ruby Builds (${{ matrix.container.version }})
69
+ runs-on : ubuntu-20.04
70
+ container : ${{ matrix.container.tag }}
71
+ strategy :
72
+ fail-fast : false
73
+ matrix :
74
+ container :
75
+ - version : " 2.0"
76
+ tag : rspec/ci:2.0.0
77
+ - version : " 1.9.3"
78
+ tag : rspec/ci:1.9.3
79
+ - version : " JRuby 1.7"
80
+ tag : rspec/ci:jruby-1.7
81
+ env :
82
+ LEGACY_CI : true
83
+ JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
84
+ steps :
85
+ - uses : actions/checkout@v2
86
+ - run : script/legacy_setup.sh
87
+ - run : bundle exec bin/rspec
88
+ - run : bundle exec script/cucumber.sh
89
+
67
90
windows :
68
91
name : Ruby ${{ matrix.ruby }} (Windows)
69
92
runs-on : windows-latest
Original file line number Diff line number Diff line change @@ -14,12 +14,7 @@ script: "script/run_build"
14
14
rvm :
15
15
- 1.8.7
16
16
- 1.9.2
17
- - 1.9.3
18
- - 2.0.0
19
17
- ree
20
- - jruby-1.7
21
- env :
22
- - JRUBY_OPTS='--dev'
23
18
matrix :
24
19
include :
25
20
- rvm : jruby-1.7
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+ source script/functions.sh
4
+
5
+ run_cukes
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+ source script/functions.sh
4
+
5
+ bundle install --standalone --binstubs
6
+
7
+ if [ -x ./bin/rspec ]; then
8
+ echo " RSpec bin detected"
9
+ else
10
+ if [ -x ./exe/rspec ]; then
11
+ cp ./exe/rspec ./bin/rspec
12
+ echo " RSpec restored from exe"
13
+ else
14
+ echo " No RSpec bin available"
15
+ exit 1
16
+ fi
17
+ fi
You can’t perform that action at this time.
0 commit comments