1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 08:27:22 +03:00

Use matrix instead of runner

This commit is contained in:
Lucie Anglade 2020-04-05 14:30:12 +02:00
parent 371b2b9b2f
commit f336c7daf3

View File

@ -13,17 +13,17 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- if: runner.os == 'Linux'
- if: matrix.os == 'ubuntu'
run: |
apt-get update -y && apt-get install ttf-dejavu -y
mkdir -p ~/.fonts
wget "https://github.com/Kozea/Ahem/blob/master/Ahem.ttf?raw=true" -O ~/.fonts/Ahem.ttf
- if: runner.os == 'macOS'
- if: matrix.os == 'macos-latest'
run: |
brew tap homebrew/cask-fonts
brew cask install font-dejavu-sans
brew install cairo pango gdk-pixbuf libffi
- if: runner.os == 'Windows'
- if: matrix.os == 'windows-latest'
run: |
export "PATH=$PATH;C:\msys64\mingw64\bin"
choco install -y python dejavufonts