Skip to content

Commit b6d287c

Browse files
committed
Verify Linux native packages on AlmaLinux 10
1 parent 77bf8d0 commit b6d287c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ jobs:
3636
- name: Test isolated installed packages
3737
if: matrix.ruby == '3.3'
3838
run: ruby script/test_packages.rb
39+
- name: Test native package on AlmaLinux 10
40+
if: matrix.os == 'ubuntu-22.04' && matrix.ruby == '3.3'
41+
run: |
42+
docker run --rm -v "$PWD/pkg:/packages:ro" almalinux:10 bash -c '
43+
set -e
44+
dnf -q -y install ruby rubygems
45+
gem install /packages/*-x86_64-linux-gnu.gem --no-document
46+
ruby -rforme_pdf -e '\''abort "Invalid PDF" unless FormePDF.render_html("<h1>AlmaLinux native package</h1>").start_with?("%PDF-"); puts "AlmaLinux PDF passed"'\''
47+
'
3948
- uses: actions/upload-artifact@v4
4049
if: matrix.ruby == '3.3'
4150
with:

0 commit comments

Comments
 (0)