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
Show more breadcrumbs
faust group
faust
Commits
bd71f781
Commit
bd71f781
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Correct PYVER variable and help scipy/matplotlib install on macOS (ci job).
parent
df5ffbc6
No related branches found
No related tags found
No related merge requests found
Pipeline
#834148
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-3
6 additions, 3 deletions
.gitlab-ci.yml
with
6 additions
and
3 deletions
.gitlab-ci.yml
+
6
−
3
View file @
bd71f781
...
...
@@ -626,10 +626,13 @@ test_linux_pkg_release:
script
:
-
$JOB_PYTHON -m venv test_pyfaust-$CI_COMMIT_TAG
-
source test_pyfaust-$CI_COMMIT_TAG/bin/activate
-
PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//g;s/\(..\).*/\1/')
-
SYS=$(if uname -a | grep -q Darwin; then echo macosx; else echo linux; fi)
-
if [ "$SYS" = macosx ]; then pip install scipy==1.9 matplotlib==3.5.3; fi
# avoid to build from sources scipy==1.10 and matplolib==3.6.3
-
PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//;s/\(.*\)\..*/\1/')
-
$JOB_PYTHON -m pip install --upgrade pip
-
SYS=$(if uname -a | grep -q Darwin; then echo macosx; else echo linux; fi)
# avoid to build from sources scipy==1.10 and matplolib==3.6.3, either with py3.9 or
3.11
-
if [ "$SYS" = macosx -a "$JOB_PYTHON" = "python3.9" ]; then pip install scipy==1.9 matplotlib==3.5.3; fi
-
if [ "$SYS" = macosx -a "$JOB_PYTHON" = "python3.11" ]; then wget https://files.pythonhosted.org/packages/7a/23/13579b64ab458782a43e11e1ad095488458b8df099063ae07773666adada/scipy-1.10.0-cp311-cp311-macosx_10_15_x86_64.whl; mv scipy-1.10.0-cp311-cp311-macosx_10_15_x86_64.whl scipy-1.10.0-cp311-cp311-macosx_10_9_x86_64.whl; pip install scipy-1.10.0-cp311-cp311-macosx_10_9_x86_64.whl; fi
-
if [ "$SYS" = macosx -a "$JOB_PYTHON" = "python3.11" ]; then wget https://files.pythonhosted.org/packages/09/ac/f3c841a09bb7479832832472ef9ec49c2069f437d0266c1168d586eee601/matplotlib-3.6.3-cp311-cp311-macosx_10_12_x86_64.whl;mv matplotlib-3.6.3-cp311-cp311-macosx_10_12_x86_64.whl matplotlib-3.6.3-cp311-cp311-macosx_10_9_x86_64.whl;pip install matplotlib-3.6.3-cp311-cp311-macosx_10_9_x86_64.whl; fi
-
$JOB_PYTHON -m pip install --upgrade build/wrapper/python/dist/${PYFAUST_PKG_NAME}-$CI_COMMIT_TAG-*$PYVER*$SYS*.whl
-
$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', 'double')"
...
...
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