File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 5050 bundle install
5151 - name : Tests
5252 run : rake test
53+
54+ Fedora :
55+ name : fedora
56+ runs-on : ubuntu-latest
57+ steps :
58+ - name : Setup Podman
59+ run : |
60+ sudo apt update
61+ sudo apt-get -y install podman
62+ podman pull fedora:rawhide
63+ - name : Get source
64+ uses : actions/checkout@v3
65+ with :
66+ path : ' numo-narray'
67+ - name : Create container and run tests
68+ run : |
69+ {
70+ echo 'FROM fedora:rawhide'
71+ echo 'RUN dnf -y update'
72+ echo 'RUN dnf -y install gcc-c++ git ruby-devel'
73+ echo 'RUN dnf clean all'
74+ echo 'COPY numo-narray numo-narray'
75+ echo 'WORKDIR /numo-narray'
76+ echo 'RUN gem install --no-document bundler'
77+ echo 'RUN gem build numo-narray.gemspec'
78+ echo 'RUN gem install numo-narray-*.gem'
79+ echo 'RUN bundle install'
80+ echo 'RUN bundle exec rake test'
81+ } > podmanfile
82+ podman build --tag fedora_test -f ./podmanfile
You can’t perform that action at this time.
0 commit comments