mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Remove freeze-all-strings from build
Rack 1.6 blows up with this option.
This commit is contained in:
parent
b046d6053a
commit
9dee8d04fb
1 changed files with 3 additions and 18 deletions
21
.github/workflows/ruby.yml
vendored
21
.github/workflows/ruby.yml
vendored
|
@ -44,12 +44,7 @@ jobs:
|
|||
|
||||
- name: test
|
||||
timeout-minutes: 8
|
||||
run: |
|
||||
# RubyGems < 3, no frozen strings
|
||||
if [[ "2.6" < "${{ matrix.ruby }}.0" ]]; then
|
||||
export RUBYOPT="--enable=frozen-string-literal"
|
||||
fi
|
||||
bundle exec rake
|
||||
run: bundle exec rake
|
||||
|
||||
win32:
|
||||
name: >-
|
||||
|
@ -92,12 +87,7 @@ jobs:
|
|||
|
||||
- name: test
|
||||
timeout-minutes: 8
|
||||
run: |
|
||||
# RubyGems < 3, no frozen strings
|
||||
if ('${{ matrix.ruby }}' -ge '2.6') {
|
||||
$env:RUBYOPT = '--enable=frozen-string-literal'
|
||||
}
|
||||
bundle exec rake
|
||||
run: bundle exec rake
|
||||
|
||||
nonMRIHead:
|
||||
name: >-
|
||||
|
@ -140,9 +130,4 @@ jobs:
|
|||
timeout-minutes: 8
|
||||
continue-on-error: true
|
||||
if: success()
|
||||
run: |
|
||||
# RubyGems < 3, no frozen strings
|
||||
if [[ "2.6" < "${{ matrix.cfg.ruby }}.0" ]]; then
|
||||
export RUBYOPT="--enable=frozen-string-literal"
|
||||
fi
|
||||
bundle exec rake
|
||||
run: bundle exec rake
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue