Skip to content

Commit

Permalink
Merge branch 'master' into linux/arm64
Browse files Browse the repository at this point in the history
* master:
  ci: run the pipeline weekly on wednesdays
  fix: recent rvm needs autoconf installed
  fix(temp): work around rubygems platform strings
  • Loading branch information
ianks committed Dec 16, 2022
2 parents 0dbd851 + df0048f commit 223f50d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ concurrency:
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
push:
branches:
- main
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.mri.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN rm -f /usr/local/bin/sudo && \
<% else %>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && \
apt-get install -y curl git-core xz-utils build-essential zlib1g-dev libreadline-dev libssl-dev wget unzip sudo gnupg2 dirmngr cmake pkg-config && \
apt-get install -y curl git-core xz-utils build-essential zlib1g-dev libreadline-dev libssl-dev wget unzip sudo gnupg2 dirmngr cmake pkg-config autoconf && \
rm -rf /var/lib/apt/lists/*
<% end %>

Expand Down Expand Up @@ -61,9 +61,10 @@ RUN bash -c " \

# Install rake-compiler and typical gems in all Rubies
# do not generate documentation for gems
# TODO: stop pinning rubygems to 3.3.20 once https://github.com/rake-compiler/rake-compiler/pull/209 is merged
RUN echo "gem: --no-ri --no-rdoc" >> ~/.gemrc && \
bash -c " \
rvm all do gem update --system --no-document && \
rvm all do gem update --system=3.3.20 --no-document && \
rvm all do gem install --no-document bundler 'bundler:~>1.16' 'rake-compiler:1.1.6' hoe mini_portile rubygems-tasks mini_portile2 && \
find /usr/local/rvm -type d -print0 | sudo xargs -0 chmod g+sw "

Expand Down

0 comments on commit 223f50d

Please sign in to comment.