File tree Expand file tree Collapse file tree 2 files changed +58
-27
lines changed Expand file tree Collapse file tree 2 files changed +58
-27
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on : push
3+
4+ env :
5+ JRUBY_OPTS : -Xcext.enabled=true
6+
7+ jobs :
8+ build :
9+ name : " Test / Ruby ${{ matrix.ruby }}"
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ ruby :
14+ - " 2.4"
15+ - " 2.5"
16+ - " 2.6"
17+ - " 2.7"
18+ fail-fast : false
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+ with :
24+ fetch-depth : 10
25+
26+ - uses : ruby/setup-ruby@v1
27+ with :
28+ ruby-version : ${{ matrix.ruby }}
29+ bundler-cache : true
30+
31+ - uses : actions/setup-python@v2
32+ with :
33+ # This should match lib/github/markups.rb GitHub::Markups::MARKUP_RST
34+ python-version : ' 3.x'
35+
36+ - uses : actions/cache@v2
37+ with :
38+ path : ~/.cache/pip
39+ key : ${{ runner.os }}-pip
40+
41+ - name : Install Perl dependencies
42+ run : |
43+ curl -1sLf \
44+ 'https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/setup.deb.sh' \
45+ | sudo -E bash
46+ sudo apt-get update -qq
47+ sudo apt-get install perl rakudo-pkg
48+
49+ curl -L http://cpanmin.us | perl - --sudo App::cpanminus
50+ sudo cpanm --installdeps --notest Pod::Simple
51+
52+ - name : Install Python dependencies
53+ run : python -m pip install docutils
54+
55+ - name : Run rake
56+ run : |
57+ export PATH=$PATH:/.perl6/bin:/opt/rakudo-pkg/bin
58+ bundle exec rake
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments