Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
e4be0be3
Commit
e4be0be3
authored
4 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Enable py3.9 for win pyfaust pip packages(build and test for releases).
parent
3f6eaac6
Branches
Branches containing commit
Tags
3.0.13
3.0.13rc1
Tags containing commit
No related merge requests found
Pipeline
#833988
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-6
29 additions, 6 deletions
.gitlab-ci.yml
with
29 additions
and
6 deletions
.gitlab-ci.yml
+
29
−
6
View file @
e4be0be3
...
...
@@ -5,6 +5,7 @@ variables:
DURL
:
"
https://gitlab.inria.fr/faustgrp/gforge_files/-/raw/master/"
DFILE
:
"
faust_data-2.6.0.zip"
JOB_PYTHON
:
"
python3"
# if set again in job, it hides this one (precedence: https://docs.gitlab.com/13.6/ee/ci/variables/#priority-of-environment-variables)
WIN_PY_VER
:
'
3.7'
#default python version used to build python wrapper on windows
.ctest_template
:
&ctest_script
script
:
...
...
@@ -463,8 +464,10 @@ pkg_linux_purepy_release_torch_linked:
# only python3 for windows
#- 'start %PYTHON2_PATH% setup.py bdist_wheel'
#- 'start %PYTHON2_PATH% setup.py bdist_egg'
-
'
call
"%PYTHON_PATH%"
setup.py
bdist_wheel'
-
'
call
"%PYTHON_PATH%"
setup.py
bdist_egg'
#- 'call "%PYTHON_PATH%" setup.py bdist_wheel'
#- 'call "%PYTHON_PATH%" setup.py bdist_egg'
-
py -%WIN_PY_VER% setup.py bdist_wheel
-
py -%WIN_PY_VER% setup.py bdist_egg
artifacts
:
paths
:
-
build\wrapper\python\dist
...
...
@@ -497,6 +500,16 @@ pkg_win_purepy_release:
only
:
-
tags
pkg_win_purepy_release_extra_pyver
:
extends
:
.pkg_win_purepy
variables
:
{
BUILD_CONFIG
:
"
Release"
,
GIT_SUBMODULE_STRATEGY
:
recursive
,
EXPERIMENTAL_PKG
:
"
OFF"
,
WIN_PY_VER
:
'
3.9'
}
before_script
:
-
'
set
VERSION=%CI_COMMIT_TAG%'
artifacts
:
expire_in
:
'
50
yrs'
only
:
-
tags
test_macos_pkg_release
:
stage
:
pkg_test
needs
:
...
...
@@ -570,11 +583,11 @@ test_win_purepy_pkg:
-
'
cd
build\wrapper\python\dist'
-
'
dir
/B
pyfaust*.whl
>
pkg_name.txt'
-
'
set
/p
PKG_NAME=<pkg_name.txt'
-
'
%JOB_PYTHON%
-m
venv
test_pyfaust-%CI_COMMIT_TAG%'
-
'
%JOB_PYTHON%
-%WIN_PY_VER%
-m
venv
test_pyfaust-%CI_COMMIT_TAG%'
-
'
call
test_pyfaust-%CI_COMMIT_TAG%\Scripts\activate'
-
'
pip
install
%PKG_NAME%'
-
'
%JOB_PYTHON%
-c
"import
pyfaust;
print(pyfaust.version());
print(pyfaust.rand(5,5).toarray());"'
-
'
%JOB_PYTHON%
-c
"import
pyfaust.tests;
pyfaust.tests.run_tests(\"cpu\",
\"real\")"'
-
'
%JOB_PYTHON%
-%WIN_PY_VER%
-m
pip
install
%PKG_NAME%'
-
'
%JOB_PYTHON%
-%WIN_PY_VER%
-c
"import
pyfaust;
print(pyfaust.version());
print(pyfaust.rand(5,5).toarray());"'
-
'
%JOB_PYTHON%
-%WIN_PY_VER%
-c
"import
pyfaust.tests;
pyfaust.tests.run_tests(\"cpu\",
\"real\")"'
needs
:
-
job
:
pkg_win_purepy_release
artifacts
:
true
...
...
@@ -583,6 +596,13 @@ test_win_purepy_pkg:
tags
:
-
win10
test_win_purepy_pkg_extra_pyver
:
extends
:
test_win_purepy_pkg
variables
:
{
JOB_PYTHON
:
'
py'
,
WIN_PY_VER
:
'
3.9'
}
needs
:
-
job
:
pkg_win_purepy_release_extra_pyver
artifacts
:
true
pypi_pub
:
stage
:
pkg_pub
script
:
...
...
@@ -602,6 +622,8 @@ pypi_pub:
artifacts
:
true
-
job
:
pkg_win_purepy_release
artifacts
:
true
-
job
:
pkg_win_purepy_release_extra_pyver
artifacts
:
true
-
job
:
pkg_macos_purepy_release_extra_pyver
artifacts
:
true
-
job
:
test_nux_purepy_release
...
...
@@ -609,6 +631,7 @@ pypi_pub:
-
job
:
test_win_purepy_pkg
-
job
:
test_macos_purepy_release
-
job
:
test_macos_purepy_release_extra_pyver
-
job
:
test_win_purepy_pkg_extra_pyver
only
:
-
tags
tags
:
...
...
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