Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Aug 16, 2024
1 parent ff2b6af commit ccf42f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ruby-tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ jobs:
- name: Install TeXLive 2021 in ubuntu
if: runner.os == 'Linux'
run: |
sudo apt-get update -y -qq && sudo apt-get install -y -qq texlive-lang-japanese texlive-fonts-recommended texlive-fonts-extra texlive-luatex texlive-extra-utils texlive-latex-extra dvipng poppler-utils
sudo apt-get update -y -qq && sudo apt-get install -y -qq texlive-lang-japanese texlive-fonts-recommended texlive-fonts-extra texlive-luatex texlive-extra-utils texlive-latex-extra dvipng poppler-utils libfuse2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: use vendor's imagemagick
run: |
export PATH=${GITHUB_WORKSPACE}/vendor/imagemagick:${PATH}
chmod 755 ${GITHUB_WORKSPACE}/vendor/imagemagick/magick
ln -s ${GITHUB_WORKSPACE}/vendor/imagemagick/magick ${GITHUB_WORKSPACE}/vendor/imagemagick/compare
which compare
- name: fix ImageMagick policy.xml on Linux
if: runner.os == 'Linux'
run: sudo sed -i 's/none/read|write/g' /etc/ImageMagick-6/policy.xml
Expand All @@ -34,6 +40,9 @@ jobs:
node-version: 18
- name: Build and test with Rake
run: |
export PATH=${GITHUB_WORKSPACE}/vendor/imagemagick:${PATH}
magick -version
compare -version
gem install bundler --no-document
bundle install --retry 3
bundle exec rake
Binary file added vendor/imagemagick/magick
Binary file not shown.

0 comments on commit ccf42f6

Please sign in to comment.