File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 8
8
steps :
9
9
- uses : actions/checkout@v2
10
10
- run : |
11
- docker run -v $(pwd):/checkout -w /checkout ruby:slim sh -c "\
11
+ docker run --rm -v $(pwd):/checkout -w /checkout ruby:alpine sh -c "\
12
+ wget -O /usr/local/include/CImg.h https://raw.githubusercontent.com/GreycLab/CImg/3d1fc212ffe933cb2bc841e504920e5a67e676b8/CImg.h && \
13
+ apk add --no-cache git build-base imagemagick-dev vips && \
14
+ bundle install --no-cache && \
15
+ ruby extconf.rb && make clean && make && \
16
+ bundle exec rake benchmark"
17
+ timeout-minutes: 5
18
+ - run : |
19
+ docker run --rm -v $(pwd):/checkout -w /checkout ruby:slim sh -c "\
12
20
apt-get update && \
13
- apt install -y cimg-dev libmagickwand-dev libvips42 wget build-essential git && \
14
- mkdir /ruby && \
15
- wget -O- https://cache.ruby-lang.org/pub/ruby/\$RUBY_MAJOR/ruby-\$RUBY_VERSION.tar.gz | tar xzC /ruby --strip-components=1 && \
21
+ apt install -y --no-install-recommends wget && \
22
+ wget -O /usr/local/include/CImg.h https://raw.githubusercontent.com/GreycLab/CImg/3d1fc212ffe933cb2bc841e504920e5a67e676b8/CImg.h && \
23
+ ( \
24
+ apt install -y --no-install-recommends git build-essential libmagickcore-dev libvips libjpeg-dev ; \
25
+ apt install -y --no-install-recommends git build-essential libmagickcore-dev libvips libjpeg-dev --fix-missing \
26
+ ) && \
16
27
bundle install --no-cache && \
17
- ruby extconf.rb && \
18
- make clean && \
19
- make && \
28
+ ruby extconf.rb && make clean && make && \
20
29
bundle exec rake benchmark"
21
30
timeout-minutes: 5
You can’t perform that action at this time.
0 commit comments