Skip to content

Commit

Permalink
Convert build to use GitHub Actions
Browse files Browse the repository at this point in the history
This removes the original Travis CI-based build, and migrates the build
to use GitHub Actions and Python 3.7.
  • Loading branch information
jonathansick committed Oct 12, 2020
1 parent 707435b commit 2bc4e7d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 23 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,33 @@
name: CI

"on": [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # full history for metadata
submodules: true

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Python install
run: |
python -m pip install --upgrade pip
python -m pip install "lander<2.0.0"
- name: TeX build
run: |
docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make'
- name: Landing page upload
if: ${{ github.event_name == 'push' }}
env:
LTD_PASSWORD: ${{ secrets.LTD_PASSWORD }}
LTD_USERNAME: ${{ secrets.LTD_USERNAME }}
run: |
lander --upload --pdf LDM-702.pdf --lsstdoc LDM-702.tex --ltd-product ldm-702
4 changes: 1 addition & 3 deletions .gitignore
Expand Up @@ -20,9 +20,7 @@
# *.ps
# *.eps
# *.pdf

## Generated if empty string is given at "Please type another file name for output:"
.pdf
LDM-702.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
Expand Down
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

Binary file removed LDM-702.pdf
Binary file not shown.

0 comments on commit 2bc4e7d

Please sign in to comment.