diff options
author | Andrew Waterman <andrew@sifive.com> | 2018-05-23 17:23:31 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2018-05-23 17:23:31 -0700 |
commit | 62a674e5f123df5369410e09544c71ffa1566cdd (patch) | |
tree | 7ee93be347e0371ec445b512b3b7a1021bef0951 | |
parent | f8ca22cdd26e155484ed15488c64d4add960d3fa (diff) | |
download | riscv-isa-manual-62a674e5f123df5369410e09544c71ffa1566cdd.zip riscv-isa-manual-62a674e5f123df5369410e09544c71ffa1566cdd.tar.gz riscv-isa-manual-62a674e5f123df5369410e09544c71ffa1566cdd.tar.bz2 |
Build PDFs of the specs when master branch is pushed
-rw-r--r-- | .travis.yml | 18 | ||||
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | build/Makefile | 2 |
3 files changed, 24 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9f7f99e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +sudo: required +dist: trusty +before_install: + - sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended +script: + - make -C build +before_deploy: + - git tag "draft-$(date +'%Y%m%d')-$(git log --format=%h -1)" +deploy: + provider: releases + api_key: + secure: h6v0vndWyTsljlYwwyqVrtW155NJ/CAE1xl+15JJ7Uf8PVZXY3NfeNqSuGVot5Em3m4qzksHLqtJWCwi17GJxGvxex0dPjrJDPOki13PPNChbwbMT5ij2fQ5IDD5lHoXlDoP7+QZLgSJ+tQk+k0ctOKZ8Pt6JnVA13/WcRDGW1Ol1buVJU9OZoczplI1/aszEOWXXRznrbgQBXqRy1lQWAItLrC+3UWgn2GwSKg/1XirN3q9twgPFwirLkHkpCr1ZhflnJ0JBoWgsdJvA2p9ITJM+ked8WnBJ9YNDbMR7FsG0iV2C0+DF4hisLlaVmu4/+yBfNHVM8m6jFWvQPMJDjsRGwss9Ax9tLj3dr6W0FhkB99qZaAWwb25vq/nVis2MCSZlYdiOBEclgmmua0s52RonAXzyqptKNBE2IlZKVs0GrDLK7OIebhIUaW0MtlZlf98cfiSM5kH1PpSyn9ePoa29uh2KZH908zzPHukt9vSivlvgQxy1NBu+6m1hYGe4jk3rDUDnT9CBiGEi3fny9pZd9/Q3voVxC4gKd1/QC8PuEMDDPb46qQdU09yGF2xQkFHYemu9emtfIryCy0+8YSiXRZwxGN8u2CGrGwcYMA1ityMQY9aUHBWTVVOoArVR0UN94U8ZKT9SDP0y/gnyph13BQ2p1M6gO7aoUUlIlM= + file_glob: true + file: build/*.pdf + skip_cleanup: true + on: + repo: riscv/riscv-isa-manual + branch: master @@ -1,4 +1,4 @@ -RISC-V Instruction Set Manual +RISC-V Instruction Set Manual [![Build Status](https://travis-ci.org/riscv/riscv-isa-manual.svg?branch=master)](https://travis-ci.org/riscv/riscv-isa-manual) ============================= This repository contains the LaTeX source for the draft RISC-V Instruction Set @@ -12,5 +12,8 @@ The Manual is split up into the following volumes: - Volume I: User-Level ISA - Volume II: Privileged Architecture -Compiled versions of the specifications are available at +Official versions of the specifications are available at https://riscv.org/specifications/ + +Compiled versions of the most recent drafts of the specifications are available at +https://github.com/riscv/riscv-isa-manual/releases/latest diff --git a/build/Makefile b/build/Makefile index 5182f32..8b895f2 100644 --- a/build/Makefile +++ b/build/Makefile @@ -31,7 +31,7 @@ bibs = $(srcdir)/riscv-spec.bib # You shouldn't need to change anything below this #======================================================================= -PDFLATEX := TEXINPUTS=$(srcdir): pdflatex +PDFLATEX := TEXINPUTS=$(srcdir): pdflatex -interaction=nonstopmode -halt-on-error BIBTEX := BIBINPUTS=$(srcdir): bibtex default : pdf |