-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from lsst-pst/u/timj/modernize-build
Modernize build system to current standard
- Loading branch information
Showing
4 changed files
with
44 additions
and
43 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,41 @@ | ||
name: CI | ||
|
||
"on": [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # full history for metadata | ||
submodules: true | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Python install | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install "lander<2.0.0" | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: sqrereadonly | ||
password: ${{ secrets.DOCKERHUB_SQREREADONLY_TOKEN }} | ||
|
||
- 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 PSTN-019.pdf --lsstdoc PSTN-019.tex --ltd-product pstn-019 |
This file was deleted.
Oops, something went wrong.
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
Submodule lsst-texmf
updated
91 files