mirror of https://github.com/drowe67/codec2.git
Merge pull request #39 from drowe67/ms-ctest-doc
Fix issue preventing documentation ctest from executing in GitHub environment.pull/49/head
commit
cdd51b01a0
|
@ -21,7 +21,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install octave octave-common octave-signal liboctave-dev gnuplot sox p7zip-full python3-numpy valgrind clang-format
|
||||
sudo apt-get install octave octave-common octave-signal liboctave-dev gnuplot sox p7zip-full python3-numpy valgrind clang-format texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-science texmaker texlive-bibtex-extra
|
||||
|
||||
- name: Create Build Directory
|
||||
shell: bash
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
- name: Run ctests
|
||||
working-directory: ${{github.workspace}}/build_linux
|
||||
shell: bash
|
||||
run: ctest --output-on-failure -E test_codec2_doc
|
||||
run: ctest --output-on-failure
|
||||
|
||||
- name: Test library installation
|
||||
working-directory: ${{github.workspace}}/build_linux
|
||||
|
|
|
@ -20,10 +20,10 @@ PATH := $(PATH):$(CODEC2_BINARY)/src
|
|||
PLOT_FILES := hts2a_37_sn.tex hts2a_37_sw.tex hts2a_37_lpc_lsp.tex hts2a_37_lpc_pf.tex
|
||||
|
||||
$(DOCNAME).pdf: $(PLOT_FILES) $(DOCNAME).tex $(DOCNAME)_refs.bib
|
||||
pdflatex -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
pdflatex -shell-escape -file-line-error -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
bibtex $(JOBNAME).aux
|
||||
pdflatex -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
pdflatex -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
pdflatex -shell-escape -file-line-error -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
pdflatex -shell-escape -file-line-error -jobname=$(JOBNAME) $(DOCNAME).tex
|
||||
|
||||
$(PLOT_FILES):
|
||||
echo $(PATH)
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
\usepackage{catchfile}
|
||||
\usepackage{siunitx}
|
||||
|
||||
\CatchFileDef{\headfull}{../.git/HEAD}{}
|
||||
\StrGobbleRight{\headfull}{1}[\head]
|
||||
\StrBehind[2]{\head}{/}[\branch]
|
||||
\IfFileExists{../.git/refs/heads/\branch}{%
|
||||
\CatchFileDef{\commit}{../.git/refs/heads/\branch}{}}{%
|
||||
\newcommand{\commit}{\dots~(in \emph{packed-refs})}}
|
||||
\newcommand{\gitrevision}{%
|
||||
\StrLeft{\commit}{7}%
|
||||
\immediate\write18{git log -n1 --oneline | awk '{print $1;}' > gitrevision.txt}
|
||||
\input{gitrevision.txt}
|
||||
}
|
||||
|
||||
\newcommand{\branch}{%
|
||||
\immediate\write18{git branch --show-current > gitbranch.txt}
|
||||
\input{gitbranch.txt}
|
||||
}
|
||||
|
||||
\title{Codec 2}
|
||||
|
|
Loading…
Reference in New Issue