Skip to content

Commit

Permalink
add github actions workflow, remove travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Dec 16, 2023
1 parent 3743ea3 commit 2318399
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
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
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit 2318399

Please sign in to comment.