Cap bundle install parallel jobs at 4.
This commit is contained in:
parent
953e766c92
commit
7deddc81ee
|
@ -37,7 +37,7 @@ jobs:
|
|||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||
bundle config --local deployment true
|
||||
bundle config --local without development
|
||||
bundle install --jobs $(($(nproc) - 1))
|
||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
||||
bundle clean
|
||||
|
||||
- name: Setup licensed
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||
bundle config --local deployment true
|
||||
bundle config --local without development
|
||||
bundle install --jobs $(($(nproc) - 1))
|
||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
||||
bundle clean
|
||||
|
||||
- name: pnpm install
|
||||
|
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
bundle config --local deployment true
|
||||
bundle config --local without development
|
||||
bundle config --local with migrations
|
||||
bundle install --jobs $(($(nproc) - 1))
|
||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
||||
bundle clean
|
||||
|
||||
- name: pnpm install
|
||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||
bundle config --local deployment true
|
||||
bundle config --local without development
|
||||
bundle install --jobs $(($(nproc) - 1))
|
||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
||||
bundle clean
|
||||
|
||||
- name: Create output dir
|
||||
|
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||
bundle config --local deployment true
|
||||
bundle config --local without development
|
||||
bundle install --jobs $(($(nproc) - 1))
|
||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
||||
bundle clean
|
||||
|
||||
- name: pnpm install
|
||||
|
|
Loading…
Reference in New Issue