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
707435b
commit 2bc4e7d
Showing
4 changed files
with
34 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,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 |
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.