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
c1217fd4
Commit
c1217fd4
authored
7 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Add a ci job for packaging faust on Linux (only rpm and deb).
This is a progress concerning issue #6.
parent
607bc2bf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-0
10 additions, 0 deletions
.gitlab-ci.yml
CMakeLists.txt
+11
-5
11 additions, 5 deletions
CMakeLists.txt
with
21 additions
and
5 deletions
.gitlab-ci.yml
+
10
−
0
View file @
c1217fd4
...
@@ -65,3 +65,13 @@ package_macos:
...
@@ -65,3 +65,13 @@ package_macos:
-
macos
-
macos
except
:
except
:
-
schedules
-
schedules
package_linux
:
stage
:
package_rev
script
:
-
if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
-
'
cmake
-DBUILD_WRAPPER_PYTHON=ON
-DBUILD_WRAPPER_MATLAB=ON
-DCMAKE_INSTALL_PREFIX=/opt/faust
-DCPACK_PACKAGE_FILE_NAME=Faust-$CI_COMMIT_SHA
..'
-
make
-
cpack -G RPM -C CPackConfig.cmake
-
cpack -G DEB -C CPackConfig.cmake
-
'
mv
Faust-$CI_COMMIT_SHA*
$HOME'
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
11
−
5
View file @
c1217fd4
...
@@ -833,18 +833,24 @@ set(CPACK_RPM_PACKAGE_VENDOR ${CPACK_PACKAGE_VENDOR})
...
@@ -833,18 +833,24 @@ set(CPACK_RPM_PACKAGE_VENDOR ${CPACK_PACKAGE_VENDOR})
set
(
CPACK_RPM_PACKAGE_URL
${
CPACK_PACKAGE_URL
}
)
set
(
CPACK_RPM_PACKAGE_URL
${
CPACK_PACKAGE_URL
}
)
set
(
CPACK_RPM_PACKAGE_DESCRIPTION
${
CPACK_PACKAGE_DESCRIPTION_SUMMARY
}
)
set
(
CPACK_RPM_PACKAGE_DESCRIPTION
${
CPACK_PACKAGE_DESCRIPTION_SUMMARY
}
)
IF
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
IF
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-i386-Linux"
)
if
(
NOT DEFINED CPACK_PACKAGE_FILE_NAME
)
SET
(
CPACK_PACKAGE_INSTALL_REGISTRY_KEY
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-i386-Linux"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-i386-Linux"
)
else
()
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_FILE_NAME
}
-i386"
)
endif
()
SET
(
CPACK_DEBIAN_PACKAGE_ARCHITECTURE
"i386"
)
SET
(
CPACK_DEBIAN_PACKAGE_ARCHITECTURE
"i386"
)
SET
(
CPACK_RPM_PACKAGE_ARCHITECTURE
"i386"
)
SET
(
CPACK_RPM_PACKAGE_ARCHITECTURE
"i386"
)
ELSE
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
ELSE
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-x86_64-Linux"
)
if
(
NOT DEFINED CPACK_PACKAGE_FILE_NAME
)
SET
(
CPACK_PACKAGE_INSTALL_REGISTRY_KEY
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-x86_64-Linux"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"FAUST-binary-
${
CPACK_PACKAGE_VERSION
}
-x86_64-Linux"
)
else
()
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_FILE_NAME
}
-x86_64"
)
endif
()
SET
(
CPACK_DEBIAN_PACKAGE_ARCHITECTURE
"amd64"
)
SET
(
CPACK_DEBIAN_PACKAGE_ARCHITECTURE
"amd64"
)
SET
(
CPACK_RPM_PACKAGE_ARCHITECTURE
"amd64"
)
SET
(
CPACK_RPM_PACKAGE_ARCHITECTURE
"amd64"
)
ENDIF
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
ENDIF
(
CMAKE_SIZEOF_VOID_P MATCHES
"4"
)
SET
(
CPACK_PACKAGE_INSTALL_REGISTRY_KEY
"
${
CPACK_PACKAGE_FILE_NAME
}
"
)
ENDIF
(
APPLE
)
ENDIF
(
APPLE
)
ENDIF
(
WIN32 AND NOT UNIX
)
ENDIF
(
WIN32 AND NOT UNIX
)
#include(CPackConfig.cmake)
#include(CPackConfig.cmake)
...
...
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