Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
5dcc488d
Unverified
Commit
5dcc488d
authored
Jan 13, 2021
by
Ted Zlatanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci.yml: improve globs and rules
parent
ca62cab7
Pipeline
#8693
canceled with stages
in 37 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
55 deletions
+51
-55
.gitlab-ci.yml
.gitlab-ci.yml
+51
-55
No files found.
.gitlab-ci.yml
View file @
5dcc488d
...
...
@@ -48,34 +48,31 @@ default:
# - "**/*.log"
.test-template
:
only
:
changes
:
-
"
Makefile.in"
-
.gitlab-ci.yml
-
aclocal.m4
-
autogen.sh
-
configure.ac
-
lib/*.{h,c}
-
lisp/*.el
-
lisp/**/*.el
-
src/*.{h,c}
-
test/infra/Dockerfile.*
-
test/lisp/*.el
-
test/lisp/**/*.el
-
test/src/*.el
except
:
changes
:
# gfilemonitor, kqueue
-
src/gfilenotify.c
-
src/kqueue.c
# MS Windows
-
lisp/w32*.el
-
lisp/term/w32*.el
-
src/w32*.{h,c}
# GNUstep
-
lisp/term/ns-win.el
-
src/ns*.{h,m}
-
src/macfont.{h,m}
rules
:
-
changes
:
-
"
**/Makefile.in"
-
.gitlab-ci.yml
-
aclocal.m4
-
autogen.sh
-
configure.ac
-
lib/*.{h,c}
-
lisp/**/*.el
-
src/*.{h,c}
-
test/infra/*
-
test/lisp/**/*.el
-
test/src/*.el
-
changes
:
# gfilemonitor, kqueue
-
src/gfilenotify.c
-
src/kqueue.c
# MS Windows
-
"
**/w32*"
# GNUstep
-
lisp/term/ns-win.el
-
src/ns*.{h,m}
-
src/macfont.{h,m}
when
:
never
# using the variables for each job
script
:
-
docker build --target ${target} -t ${target}:${CI_COMMIT_REF_SLUG} -t ${target}:${CI_COMMIT_SHA} -f test/infra/Dockerfile.emba .
...
...
@@ -111,18 +108,18 @@ test-filenotify-gio:
# This tests file monitor libraries gfilemonitor and gio.
stage
:
normal
extends
:
[
.job-template
,
.test-template
]
only
:
variables
:
-
$CI_PIPELINE_SOURCE == "schedule"
changes
:
-
.gitlab-ci.yml
-
lisp/autorevert.el
-
lisp/filenotify.el
-
lisp/net/tramp-sh.el
-
src/gfilenotify.c
-
test/infra/Dockerfile.
*
-
test/lisp/autorevert-tests.el
-
test/lisp/filenotify-tests.el
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"schedule"'
changes
:
-
"
**/Makefile.in"
-
.gitlab-ci.yml
-
lisp/autorevert.el
-
lisp/filenotify.el
-
lisp/net/tramp-sh.el
-
src/gfilenotify.c
-
test/infra/
*
-
test/lisp/autorevert-tests.el
-
test/lisp/filenotify-tests.el
variables
:
target
:
emacs-filenotify-gio
make_params
:
"
-k
-C
test
autorevert-tests
filenotify-tests"
...
...
@@ -131,17 +128,17 @@ test-gnustep:
# This tests the GNUstep build process
stage
:
normal
extends
:
[
.job-template
,
.test-template
]
only
:
variables
:
-
$CI_PIPELINE_SOURCE == "schedule"
changes
:
-
.gitlab-ci.yml
-
configure.ac
-
src/ns*.{h,m}
-
src/macfont.{h,m}
-
lisp/term/ns-win.el
-
nextstep/**/*
-
test/infra/Dockerfile.
*
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"schedule"'
changes
:
-
"
**/Makefile.in"
-
.gitlab-ci.yml
-
configure.ac
-
src/ns*.{h,m}
-
src/macfont.{h,m}
-
lisp/term/ns-win.el
-
nextstep/**/*
-
test/infra/
*
variables
:
target
:
emacs-gnustep
make_params
:
install
...
...
@@ -150,10 +147,9 @@ test-all:
# This tests also file monitor libraries inotify and inotifywatch.
stage
:
slow
extends
:
[
.job-template
,
.test-template
]
only
:
# note there's no changes/except, so this always runs on a schedule
variables
:
-
$CI_PIPELINE_SOURCE == "schedule"
rules
:
# note there's no changes, so this always runs on a schedule
-
if
:
'
$CI_PIPELINE_SOURCE
==
"schedule"'
variables
:
target
:
emacs-inotify
make_params
:
check-expensive
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment