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
a2950f2c
Commit
a2950f2c
authored
7 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Shorten the commit sha to its unique eight first digits in package names and versions.
parent
fa923e9a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-10
12 additions, 10 deletions
.gitlab-ci.yml
with
12 additions
and
10 deletions
.gitlab-ci.yml
+
12
−
10
View file @
a2950f2c
...
...
@@ -58,19 +58,20 @@ ctest_nightly_macos:
package_macos
:
stage
:
package_rev
script
:
-
SHA_START=$(echo $CI_COMMIT_SHA | sed -e 's/^\(.\{8\}\).*/\1/')
-
if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
-
'
cmake
-DBUILD_WRAPPER_PYTHON=ON
-DBUILD_WRAPPER_MATLAB=ON
-DBUILD_DOCUMENTATION=ON
-DCPACK_PACKAGE_VERSION=$
CI_COMMIT_SHA
-DCMAKE_INSTALL_PREFIX=/opt/local/faust-$
CI_COMMIT_SHA
..'
-
'
cmake
-DBUILD_WRAPPER_PYTHON=ON
-DBUILD_WRAPPER_MATLAB=ON
-DBUILD_DOCUMENTATION=ON
-DCPACK_PACKAGE_VERSION=$
SHA_START
-DCMAKE_INSTALL_PREFIX=/opt/local/faust-$
SHA_START
..'
-
make
-
'
echo
$MACOS_PASS
|
sudo
-S
make
install'
-
'
echo
$MACOS_PASS
|
sudo
-S
hdiutil
create
-volname
Faust-$
CI_COMMIT_SHA
-MatlabR2016a-Py2.7
-srcfolder
/opt/local/faust-$
CI_COMMIT_SHA
-ov
-format
UDRW
faust-$
CI_COMMIT_SHA
'
-
pkgbuild --identifier fr.inria.faust --version $
CI_COMMIT_SHA
--root /opt/local/faust-$
CI_COMMIT_SHA
--install-location /opt/local/faust-$
CI_COMMIT_SHA
--scripts . ./faust-$
CI_COMMIT_SHA
.pkg
-
'
echo
$MACOS_PASS
|
sudo
-S
hdiutil
create
-volname
Faust-$
SHA_START
-MatlabR2016a-Py2.7
-srcfolder
/opt/local/faust-$
SHA_START
-ov
-format
UDRW
faust-$
SHA_START
'
-
pkgbuild --identifier fr.inria.faust --version $
SHA_START
--root /opt/local/faust-$
SHA_START
--install-location /opt/local/faust-$
SHA_START
--scripts . ./faust-$
SHA_START
.pkg
-
for FILE in $(find /usr/local/lib ! -iname "libmatio*" -maxdepth 1 -mindepth 1); do filter_list+="--filter $(basename $FILE) "; done;
-
pkgbuild --identifier fr.inria.faust.matio --version 1.5.12 --root /usr/local/lib $filter_list --install-location /usr/local/lib ./matio-bin-1.5.12.pkg
-
productbuild --synthesize --package ./matio-bin-1.5.12.pkg --package faust-$
CI_COMMIT_SHA
.pkg ./distribution.plist
-
sed -e 's/\(.*pkg-ref id=.fr.inria.faust".*\)/\1<title>FAµST '$
CI_COMMIT_SHA
'<\/title><license file="licenses.html"\/><readme file="installer_readme.html"\/>/' distribution.plist > tmp.plist; mv tmp.plist distribution.plist
-
productbuild --distribution ./distribution.plist --package-path . --resources doc ./faust-matio-$
CI_COMMIT_SHA
.pkg
-
mv ./faust-matio-$
CI_COMMIT_SHA
.pkg ./faust-$
CI_COMMIT_SHA
.pkg
-
if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$
CI_COMMIT_SHA.dmg faust-$CI_COMMIT_SHA
.pkg $MACOS_PKG_STORE_PATH; fi
-
productbuild --synthesize --package ./matio-bin-1.5.12.pkg --package faust-$
SHA_START
.pkg ./distribution.plist
-
sed -e 's/\(.*pkg-ref id=.fr.inria.faust".*\)/\1<title>FAµST '$
SHA_START
'<\/title><license file="licenses.html"\/><readme file="installer_readme.html"\/>/' distribution.plist > tmp.plist; mv tmp.plist distribution.plist
-
productbuild --distribution ./distribution.plist --package-path . --resources doc ./faust-matio-$
SHA_START
.pkg
-
mv ./faust-matio-$
SHA_START
.pkg ./faust-$
SHA_START
.pkg
-
if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$
SHA_START.dmg faust-$SHA_START
.pkg $MACOS_PKG_STORE_PATH; fi
tags
:
-
macos
except
:
...
...
@@ -80,13 +81,14 @@ package_macos:
package_linux
:
stage
:
package_rev
script
:
-
SHA_START=$(echo $CI_COMMIT_SHA | sed -e 's/^\(.\{8\}\).*/\1/')
-
if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
-
'
cmake
-DBUILD_WRAPPER_PYTHON=ON
-DBUILD_WRAPPER_MATLAB=ON
-DBUILD_DOCUMENTATION=ON
-DCMAKE_INSTALL_PREFIX=/opt/local/faust-$
CI_COMMIT_SHA
-DCPACK_PACKAGE_FILE_NAME=faust-$
CI_COMMIT_SHA
-DCPACK_PACKAGE_VERSION=$
CI_COMMIT_SHA
..'
-
'
cmake
-DBUILD_WRAPPER_PYTHON=ON
-DBUILD_WRAPPER_MATLAB=ON
-DBUILD_DOCUMENTATION=ON
-DCMAKE_INSTALL_PREFIX=/opt/local/faust-$
SHA_START
-DCPACK_PACKAGE_FILE_NAME=faust-$
SHA_START
-DCPACK_PACKAGE_VERSION=$
SHA_START
..'
-
make
-
cpack -G RPM -C CPackConfig.cmake
-
cpack -G DEB -C CPackConfig.cmake
-
lftp -u $FTP_SERV_USER,$FTP_SERV_PASS -e 'set ssl:verify-certificate no;mput faust-*.rpm faust-*.deb;quit' $FTP_SERV_HOST
-
'
mv
faust-$
CI_COMMIT_SHA
*
$HOME'
-
'
mv
faust-$
SHA_START
*
$HOME'
tags
:
-
linux
except
:
...
...
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