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 15, 2020
1 parent ef27f1b commit 75bc88f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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-472.pdf --lsstdoc LDM-472.tex --ltd-product ldm-472
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit 75bc88f

Please sign in to comment.