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