-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github actions workflow, remove travis CI
- Loading branch information
Showing
2 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install LaTeX | ||
run: | | ||
sudo apt-get -qq update | ||
sudo apt-get install -y --no-install-recommends texlive-fonts-recommended \ | ||
texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended | ||
- name: Build metamath-narrow.pdf | ||
run: ./make-narrow | ||
- name: Build metamath.pdf | ||
run: ./generate-pdf | ||
- name: Build metamath-de.pdf | ||
run: ./generate-pdf normal de | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: metamath-pdf | ||
path: | | ||
metamath.pdf | ||
metamath-narrow.pdf | ||
metamath-de.pdf | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
with: | ||
files: | | ||
metamath.pdf | ||
metamath-narrow.pdf | ||
metamath-de.pdf |
This file was deleted.
Oops, something went wrong.