This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +60
-14
lines changed Expand file tree Collapse file tree 11 files changed +60
-14
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
name : RSpec CI
67
67
- run : bundle install --binstubs --standalone
68
68
- run : script/run_build
69
69
70
+ legacy :
71
+ name : Legacy Ruby Builds (${{ matrix.container.version }})
72
+ runs-on : ubuntu-20.04
73
+ container : ${{ matrix.container.tag }}
74
+ strategy :
75
+ fail-fast : false
76
+ matrix :
77
+ container :
78
+ - version : " 2.0"
79
+ tag : rspec/ci:2.0.0
80
+ - version : " 1.9.3"
81
+ tag : rspec/ci:1.9.3
82
+ - version : " JRuby 1.7"
83
+ tag : rspec/ci:jruby-1.7
84
+ env :
85
+ LEGACY_CI : true
86
+ JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
87
+ steps :
88
+ - uses : actions/checkout@v2
89
+ - run : script/legacy_setup.sh
90
+ - run : bundle exec bin/rspec
91
+ - run : bundle exec script/cucumber.sh
92
+
70
93
windows :
71
94
name : Ruby ${{ matrix.ruby }} (Windows)
72
95
runs-on : windows-latest
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# In order to install old Rubies, we need to use old Ubuntu distibution.
@@ -17,12 +17,7 @@ script: "script/run_build"
17
17
rvm :
18
18
- 1.8.7
19
19
- 1.9.2
20
- - 1.9.3
21
- - 2.0.0
22
20
- ree
23
- - jruby-1.7
24
- env :
25
- - JRUBY_OPTS='--dev'
26
21
matrix :
27
22
include :
28
23
- rvm : jruby-1.7
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This file was generated on 2021-01-08T09:17:13+00:00 from the rspec-dev repo.
3
+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
+
5
+ set -e
6
+ source script/functions.sh
7
+
8
+ run_cukes
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This file was generated on 2021-01-08T09:17:13+00:00 from the rspec-dev repo.
3
+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
+
5
+ set -e
6
+ source script/functions.sh
7
+
8
+ bundle install --standalone --binstubs
9
+
10
+ if [ -x ./bin/rspec ]; then
11
+ echo " RSpec bin detected"
12
+ else
13
+ if [ -x ./exe/rspec ]; then
14
+ cp ./exe/rspec ./bin/rspec
15
+ echo " RSpec restored from exe"
16
+ else
17
+ echo " No RSpec bin available"
18
+ exit 1
19
+ fi
20
+ fi
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-27T14:29:50 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-08T09:17:13 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
You can’t perform that action at this time.
0 commit comments