Update README with deprecation notice #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [ main ] | |
tags: [ v* ] | |
pull_request: | |
jobs: | |
build: | |
name: Run specs on ${{ matrix.os }} ruby ${{ matrix.ruby }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
ruby: ['3.1', '3.0', '2.7', '2.6', '2.5', '2.4'] | |
experimental: [false] | |
steps: | |
- uses: actions/checkout@master | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Install LaTeXML on Ubuntu | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo snap install latexml --edge | |
echo "/snap/bin" >> $GITHUB_PATH | |
- name: Install LaTeXML on macOS | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install libxml2 cpanminus | |
env PATH=$(brew --prefix libxml2)/bin:$PATH \ | |
cpanm --notest XML::LibXSLT LaTeXML | |
echo "$(brew --prefix perl)/bin" >> $GITHUB_PATH | |
- name: Install LaTeXML on Windows | |
if: matrix.os == 'windows-latest' | |
shell: cmd | |
run: | | |
cinst -y latexml | |
refreshenv | |
set PATH=C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH% | |
where latexmlmath | |
echo "C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin" >> %GITHUB_PATH% | |
- run: bundle exec rake |