File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 8484 chmod +x zlib_packed
8585 ./zlib_packed
8686
87+ test-source-gem-install :
88+ runs-on : ubuntu-latest
89+ steps :
90+ - uses : actions/checkout@v4
91+
92+ - uses : ruby/setup-ruby@v1
93+ with :
94+ ruby-version : ' 4.0'
95+
96+ - name : Install build dependencies
97+ run : sudo apt-get install -y xz-utils gcc make
98+
99+ - name : Build and install source gem
100+ run : |
101+ gem build ocran-source.gemspec
102+ gem install --local ocran-*.gem
103+
104+ - name : Build hello world executable via installed gem
105+ run : |
106+ ocran test/fixtures/helloworld/helloworld.rb --no-lzma
107+ ./helloworld
108+ cp helloworld /tmp/helloworld_from_source_gem
109+
110+ - name : Run executable on Debian (no Ruby installed)
111+ run : docker run --rm -v /tmp:/mnt debian:stable-slim /mnt/helloworld_from_source_gem
112+
87113 run-tests-windows :
88114 strategy :
89115 fail-fast : false
You can’t perform that action at this time.
0 commit comments