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 00baa58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ruby-tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
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,8 @@ jobs:
node-version: 18
- name: Build and test with Rake
run: |
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 00baa58

Please sign in to comment.