-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the original Travis CI-based build, and migrates the build to use GitHub Actions and Python 3.7.
- Loading branch information
1 parent
ef27f1b
commit 75bc88f
Showing
2 changed files
with
33 additions
and
18 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,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 |
This file was deleted.
Oops, something went wrong.