mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-04-12 21:41:04 -07:00
Combined manual and ecl building in one task.
This commit is contained in:
parent
25420da60b
commit
e2be81d401
1 changed files with 6 additions and 20 deletions
|
|
@ -1,31 +1,17 @@
|
|||
pdf-manual:
|
||||
stage: build
|
||||
# instead of calling g++ directly you can also use some build toolkit like make
|
||||
# install the necessary build tools when needed
|
||||
before_script:
|
||||
- apt update && apt -y install texinfo texlive-base texlive-plain-generic
|
||||
artifacts:
|
||||
paths:
|
||||
- target-dir
|
||||
script:
|
||||
- ./configure --prefix=${CI_PROJECT_DIR}/target-dir/
|
||||
- mkdir -p ${CI_PROJECT_DIR}/target-dir/ ; make doc ; cd build/doc/ ; make manual ; cd manual ; make ecl-manual.pdf ; cp -p ecl-manual.pdf ${CI_PROJECT_DIR}/target-dir/
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
# instead of calling g++ directly you can also use some build toolkit like make
|
||||
# install the necessary build tools when needed
|
||||
# before_script:
|
||||
# - apt update && apt -y install texinfo texlive-base texlive-plain-generic
|
||||
before_script:
|
||||
- apt update && apt -y install texinfo texlive-base texlive-plain-generic
|
||||
# instead of calling g++ directly you can also use some build toolkit like make
|
||||
# install the necessary build tools when needed
|
||||
# - apt update && apt -y install make autoconf
|
||||
artifacts:
|
||||
paths:
|
||||
- target-dir
|
||||
script:
|
||||
- ./configure --prefix=${CI_PROJECT_DIR}/target-dir/
|
||||
- make
|
||||
- mkdir -p ${CI_PROJECT_DIR}/target-dir/ ; make doc ; cd build/doc/ ; make manual ; cd manual ; make ecl-manual.pdf ; cp -p ecl-manual.pdf ${CI_PROJECT_DIR}/target-dir/
|
||||
- make install
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue