Skip to content

Commit 223f50d

Browse files
committed
Merge branch 'master' into linux/arm64
* master: ci: run the pipeline weekly on wednesdays fix: recent rvm needs autoconf installed fix(temp): work around rubygems platform strings
2 parents 0dbd851 + df0048f commit 223f50d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ concurrency:
44
cancel-in-progress: true
55
on:
66
workflow_dispatch:
7+
schedule:
8+
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
79
push:
810
branches:
911
- main

Dockerfile.mri.erb

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN rm -f /usr/local/bin/sudo && \
1919
<% else %>
2020
ENV DEBIAN_FRONTEND noninteractive
2121
RUN apt-get -y update && \
22-
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 && \
22+
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 && \
2323
rm -rf /var/lib/apt/lists/*
2424
<% end %>
2525

@@ -61,9 +61,10 @@ RUN bash -c " \
6161

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

0 commit comments

Comments
 (0)