Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.devtools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
bob
bob.devtools
Commits
e6c30dd7
Commit
e6c30dd7
authored
Jan 19, 2021
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'macos-arm-preparations' into 'master'
Prepare CI files for macos+arm integration See merge request
!204
parents
57e848be
5843fbbd
Pipeline
#47188
passed with stages
in 14 minutes and 51 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
27 deletions
+33
-27
.gitlab-ci.yml
.gitlab-ci.yml
+6
-5
bob/devtools/data/gitlab-ci/base-build.yaml
bob/devtools/data/gitlab-ci/base-build.yaml
+4
-3
bob/devtools/data/gitlab-ci/nightlies.yaml
bob/devtools/data/gitlab-ci/nightlies.yaml
+3
-2
bob/devtools/data/gitlab-ci/noarch.yaml
bob/devtools/data/gitlab-ci/noarch.yaml
+8
-6
bob/devtools/data/gitlab-ci/single-package.yaml
bob/devtools/data/gitlab-ci/single-package.yaml
+9
-8
doc/macos.rst
doc/macos.rst
+1
-1
doc/templates.rst
doc/templates.rst
+2
-2
No files found.
.gitlab-ci.yml
View file @
e6c30dd7
...
...
@@ -48,10 +48,11 @@ build_linux:
key
:
"
linux-cache"
build_macos
x
:
build_macos
_intel
:
extends
:
.build_template
tags
:
-
macosx
-
macos
-
intel
script
:
-
python3 ./bob/devtools/bootstrap.py -vv build
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
...
...
@@ -62,7 +63,7 @@ build_macosx:
-
${CONDA_ROOT}/conda-bld/osx-64/*.conda
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
cache
:
key
:
"
macos
x
-cache"
key
:
"
macos
-intel
-cache"
# Deploy targets
...
...
@@ -80,7 +81,7 @@ build_macosx:
-
bdt ci clean -vv
dependencies
:
-
build_linux
-
build_macos
x
-
build_macos
_intel
tags
:
-
docker
cache
:
...
...
@@ -122,7 +123,7 @@ pypi:
-
bdt ci clean -vv
dependencies
:
-
build_linux
-
build_macos
x
-
build_macos
_intel
tags
:
-
docker
cache
:
...
...
bob/devtools/data/gitlab-ci/base-build.yaml
View file @
e6c30dd7
...
...
@@ -40,9 +40,10 @@ build_linux:
key
:
"
linux-cache"
build_macos
x
:
build_macos
_intel
:
extends
:
.build_template
tags
:
-
macosx
-
macos
-
intel
cache
:
key
:
"
macos
x
-cache"
key
:
"
macos
-intel
-cache"
bob/devtools/data/gitlab-ci/nightlies.yaml
View file @
e6c30dd7
...
...
@@ -50,12 +50,13 @@ build_linux_37:
cache
:
key
:
'
build-py37'
build_macos
x
_37
:
build_macos
_intel
_37
:
extends
:
.build_template
variables
:
PYTHON_VERSION
:
"
3.7"
tags
:
-
macosx
-
macos
-
intel
cache
:
key
:
'
build-py37'
...
...
bob/devtools/data/gitlab-ci/noarch.yaml
View file @
e6c30dd7
...
...
@@ -66,14 +66,15 @@ build_linux:
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
build_macos
x
:
build_macos
_intel
:
variables
:
PYTHON_VERSION
:
"
3.7"
cache
:
key
:
"
build"
extends
:
.build_template
tags
:
-
macosx
-
macos
-
intel
# Test targets (not normally used)
...
...
@@ -95,10 +96,11 @@ build_macosx:
image
:
docker.idiap.ch/bob/docker-images/c3i-linux-64
.test_macos
x
_template
:
.test_macos
_intel
_template
:
extends
:
.test_template
tags
:
-
macosx
-
macos
-
intel
# Deploy targets
...
...
@@ -110,7 +112,7 @@ build_macosx:
-
bdt ci clean -vv
dependencies
:
-
build_linux
-
build_macos
x
-
build_macos
_intel
tags
:
-
docker
cache
:
...
...
@@ -149,7 +151,7 @@ pypi:
-
bdt ci clean -vv
dependencies
:
-
build_linux
-
build_macos
x
-
build_macos
_intel
tags
:
-
docker
cache
:
...
...
bob/devtools/data/gitlab-ci/single-package.yaml
View file @
e6c30dd7
...
...
@@ -56,18 +56,19 @@ stages:
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
.build_macos
x
_template
:
.build_macos
_intel
_template
:
extends
:
.build_template
tags
:
-
macosx
-
macos
-
intel
artifacts
:
paths
:
-
${CONDA_ROOT}/conda-bld/osx-64/*.conda
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
build_macos
x
_37
:
extends
:
.build_macos
x
_template
build_macos
_intel
_37
:
extends
:
.build_macos
_intel
_template
variables
:
PYTHON_VERSION
:
"
3.7"
cache
:
...
...
@@ -112,10 +113,10 @@ build_linux_37:
image
:
docker.idiap.ch/bob/docker-images/c3i-linux-64
.test_macos
x
_template
:
.test_macos
_intel
_template
:
extends
:
.test_template
tags
:
-
macos
x
-
macos
_intel
# Deploy targets
...
...
@@ -127,7 +128,7 @@ build_linux_37:
-
bdt ci clean -vv
dependencies
:
-
build_linux_37
-
build_macos
x
_37
-
build_macos
_intel
_37
tags
:
-
docker
cache
:
...
...
@@ -166,7 +167,7 @@ pypi:
-
bdt ci clean -vv
dependencies
:
-
build_linux_37
-
build_macos
x
_37
-
build_macos
_intel
_37
tags
:
-
docker
cache
:
...
...
doc/macos.rst
View file @
e6c30dd7
...
...
@@ -173,7 +173,7 @@ Inside the file ``/Users/admin/cron.sh``, put the following contents:
.. code-block:: sh
/bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh) 2>&1 | mailx -s "Software update (hostname|cimacos
x
)" your.email@idiap.ch
/bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh) 2>&1 | mailx -s "Software update (hostname|cimacos)" your.email@idiap.ch
.. note::
...
...
doc/templates.rst
View file @
e6c30dd7
...
...
@@ -96,7 +96,7 @@ You also need to enable the following options - through gitlab - on your project
the
"Deploy Keys"
for
our
builders
(
all
`
conda
-*`
related
servers
)
are
enabled
3.
Visit
the
"Runners"
section
of
your
package
settings
and
enable
all
conda
runners
,
for
linux
and
macos
x
variants
runners
,
for
linux
and
macos
(
intel
or
arm
)
variants
4.
Go
into
the
"Variables"
section
of
your
package
setup
and
**
add
common
variables
**
corresponding
to
the
usernames
and
passwords
for
uploading
wheels
and
documentation
tar
balls
to
our
(
web
DAV
)
server
,
as
well
as
PyPI
...
...
@@ -399,7 +399,7 @@ You also remember to enable the following options on your project:
1. In the project "Settings" page, make sure builds are enabled
2. Visit the "Runners" section of your package settings and enable all runners
with the `docker` and `macos
x
` tags.
with the `docker` and `macos` tags.
3. Setup the coverage regular expression under "CI/CD pipelines" to have the
value `^TOTAL.*\s+(\d+\%)$`, which is adequate for figuring out the output
of `coverage report`
...
...
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