@@ -17,13 +17,15 @@ jobs:
1717 benchmark :
1818 runs-on : ubuntu-latest
1919 env :
20+ GH_EVENT : ${{github.event_name}}
2021 GH_REF : ${{github.head_ref}}
2122 GH_REPO : ${{github.repository}}
22- GH_EVENT : ${{ github.event_name}}
23+ EXECUTION_ENV : github-action
2324 strategy :
2425 fail-fast : false
2526 matrix :
26- ruby : [jruby-9.2, 2.6, 2.7, 3.2, 3.3]
27+ # Supported ruby versions (except 2.5 - benchmarks missing)
28+ ruby : [2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3, jruby-9.4]
2729
2830 steps :
2931 - name : Setup Ruby
@@ -32,29 +34,31 @@ jobs:
3234 ruby-version : ${{ matrix.ruby }}
3335
3436 - uses : actions/checkout@v4
37+ with :
38+ submodules : recursive
3539
3640 - name : Install gems
3741 run : |
38- bundle config set --local without 'docs repl development '
42+ bundle config set --local without 'development docs rbs repl '
3943 bundle install
4044
41- - name : SDK Build
45+ - name : Build SDK
4246 run : bundle exec rake build
4347
44- - name : Benchmark
48+ - name : Benchmark gems
4549 env :
4650 JRUBY_OPTS : -J-Xmx4g
47- run : EXECUTION_ENV=github-action bundle exec rake benchmark
51+ run : bundle exec rake benchmark:run
4852
49- - name : configure aws credentials
53+ - name : Configure AWS credentials
5054 uses : aws-actions/configure-aws-credentials@v4
5155 with :
52- role-to-assume : arn:aws:iam::469596866844 :role/aws-sdk-ruby-performance-reporter
53- role-session-name : benchmark-report
54- aws-region : us-west-2
56+ role-to-assume : arn:aws:iam::373952703873 :role/BenchmarkReporter
57+ role-session-name : benchmark-reporter
58+ aws-region : us-east-1
5559
56- - name : Archive benchmark report
57- run : bundle exec rake benchmark:archive
60+ - name : Upload benchmark report
61+ run : bundle exec rake benchmark:upload-report
5862
59- - name : Upload benchmark metrics
63+ - name : Put benchmark metrics
6064 run : bundle exec rake benchmark:put-metrics
0 commit comments