save #58
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. | |
# | |
name: test | |
# | |
# Triggers. | |
# | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: | |
- make | |
paths-ignore: | |
- '**.md' | |
# | |
# Jobs. | |
# | |
jobs: | |
linux: | |
runs-on: debian-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/cache@v2 | |
with: | |
path: /usr/share | |
key: a-${{ runner.os }}-cache | |
- run: sudo apt-get update | |
- run: sudo apt-get install build-essential | |
- run: sudo apt-get install texlive-xetex | |
- run: sudo apt-get install imagemagick | |
- run: sudo apt-get install libreoffice | |
- run: sudo apt-get install ufraw-batch | |
- run: sudo apt-get install fontforge | |
- run: sudo apt-get install inkscape | |
- run: sudo apt-get install ffmpeg | |
- run: sudo apt-get install rar | |
- run: npm install | |
- run: npm test | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/cache@v2 | |
with: | |
path: C:\ProgramData | |
key: a-${{ runner.os }}-cache | |
- run: choco install libreoffice-fresh | |
- run: choco install imagemagick | |
- run: choco install fontforge | |
- run: choco install ffmpeg | |
- run: choco install miktex | |
- run: choco install pandoc | |
- run: npm install | |
- run: npm test | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/cache@v2 | |
with: | |
path: /usr/local | |
key: a-${{ runner.os }}-cache | |
- run: brew install java | |
- run: brew install mactex | |
- run: brew install calibre | |
- run: brew install ibreoffice | |
- run: brew install imagemagick | |
- run: brew install fontforge | |
- run: brew install ffmpeg | |
- run: brew install go | |
- run: brew install unoconv | |
- run: | |
go install | |
github.com/klauspost/asmfmt/cmd/asmfmt@ef134b9cec704e2b7b336fb02153b7d1a58247da | |
- run: brew install qpdf | |
- run: brew install mvn | |
- run: brew install objconv | |
- run: brew install wabt | |
- run: brew install unar | |
- run: brew install pyenv | |
- run: brew install jupyter | |
- run: pip install nbconvert | |
- run: pip install docx2pdf | |
- run: brew install atool | |
- run: brew install perltidy | |
- run: brew install php-cs-fixer | |
- run: | |
echo 'export | |
PATH=/Applications/calibre.app/Contents/MacOS/:$PATH' >> | |
~/.profile |