mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
.gitlab-ci.yml: split stages and add git
This commit is contained in:
parent
792dc36e69
commit
4a2ef754f1
1 changed files with 21 additions and 3 deletions
|
|
@ -28,14 +28,32 @@ image: debian:stretch
|
|||
|
||||
before_script:
|
||||
- apt update -qq
|
||||
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev git
|
||||
|
||||
stages:
|
||||
- compile
|
||||
- test
|
||||
|
||||
test:
|
||||
stage: test
|
||||
compile:
|
||||
stage: compile
|
||||
script:
|
||||
- ./autogen.sh autoconf
|
||||
- ./configure --without-makeinfo
|
||||
- make bootstrap
|
||||
artifacts:
|
||||
when: always
|
||||
name: "compile-$CI_COMMIT_REF_NAME-$CI_JOB_STAGE-$CI_JOB_NAME"
|
||||
paths:
|
||||
- doc/
|
||||
- lib-src/
|
||||
- lib/
|
||||
- lisp/
|
||||
- src/
|
||||
- test/
|
||||
|
||||
test:
|
||||
stage: test
|
||||
dependencies:
|
||||
- compile
|
||||
script:
|
||||
- make check
|
||||
|
|
|
|||
Loading…
Reference in a new issue