Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ltfatpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dev
ltfatpy
Commits
2e5a0746
Commit
2e5a0746
authored
2 months ago
by
Dominique Benielli
Browse files
Options
Downloads
Patches
Plain Diff
gitlab arrage
parent
e84f4af3
No related branches found
No related tags found
No related merge requests found
Pipeline
#16161
failed
2 months ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+23
-3
23 additions, 3 deletions
.gitlab-ci.yml
docker/Dockerfile
+32
-0
32 additions, 0 deletions
docker/Dockerfile
docker/build_images.sh
+11
-0
11 additions, 0 deletions
docker/build_images.sh
with
66 additions
and
3 deletions
.gitlab-ci.yml
+
23
−
3
View file @
2e5a0746
...
@@ -76,11 +76,29 @@ install_and_test_310:
...
@@ -76,11 +76,29 @@ install_and_test_310:
expire_in
:
8d
expire_in
:
8d
install_and_test_311
:
install_and_test_311
:
image
:
python:3.11
image
:
registry.lis-lab.fr:5005/dev/ltfatpy/
python
-ci
:3.11
stage
:
test
stage
:
test
before_script
:
-
echo "image registry 3.11"
script
:
-
pip3 install -e . --no-deps
-
python3 -m pytest
artifacts
:
when
:
always
untracked
:
true
paths
:
-
build
expire_in
:
8d
only
:
-
ci39-python12
install_and_test_312
:
image
:
registry.lis-lab.fr:5005/dev/ltfatpy/python-ci:3.12
stage
:
test
before_script
:
-
echo "image registry 3.12"
script
:
script
:
-
pip3 install cython
-
pip3 install -e . --no-deps
-
pip3 install --no-build-isolation -e . --no-deps
-
python3 -m pytest
-
python3 -m pytest
artifacts
:
artifacts
:
when
:
always
when
:
always
...
@@ -88,6 +106,8 @@ install_and_test_311:
...
@@ -88,6 +106,8 @@ install_and_test_311:
paths
:
paths
:
-
build
-
build
expire_in
:
8d
expire_in
:
8d
only
:
-
ci39-python12
# Tests on X86_64 ubuntu
# Tests on X86_64 ubuntu
ubuntu:X86_64
:
ubuntu:X86_64
:
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile
0 → 100644
+
32
−
0
View file @
2e5a0746
# Dockerfile
ARG
PYTHON_VERSION=3.11
FROM
python:${PYTHON_VERSION}-slim
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
\
cmake
\
gcc
\
g++
\
make
\
libfftw3-dev
\
liblapack-dev
\
libjs-jquery-hotkeys
\
libjs-jquery-isonscreen
\
libjs-jquery-tablesorter
\
texlive-latex-extra
\
dvipng
\
python3-dev
\
python3-setuptools
\
python3-pip
\
python3-wheel
\
python3-tk
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
pip
install
--upgrade
pip
\
&&
pip
install
virtualenv
\
&&
virtualenv /venv
\
&&
/venv/bin/pip
install
matplotlib numpy scipy six coverage pytest pytest-cov
ENV
PATH="/venv/bin:$PATH"
This diff is collapsed.
Click to expand it.
docker/build_images.sh
0 → 100755
+
11
−
0
View file @
2e5a0746
#!/bin/bash
# "3.7" "3.10"
PYTHON_VERSIONS
=(
"3.11"
"3.12"
)
GITLAB_REGISTRY
=
"registry.lis-lab.fr:5005/dev/ltfatpy"
for
version
in
"
${
PYTHON_VERSIONS
[@]
}
"
;
do
echo
"Building Python
$version
..."
docker build
--build-arg
PYTHON_VERSION
=
$version
-t
"
$GITLAB_REGISTRY
/python-ci:
$version
"
.
docker push
"
$GITLAB_REGISTRY
/python-ci:
$version
"
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment