Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
f0148fef
Commit
f0148fef
authored
May 18, 2018
by
Remi Perenon
Browse files
Debug
parent
21d034b8
Pipeline
#3700
passed with stages
in 17 minutes and 14 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f0148fef
...
...
@@ -23,7 +23,7 @@ ci:osx:
-
/^bugfix-.*$/
artifacts
:
paths
:
-
./BuildServer/Unix/Build
-
./BuildServer/Unix/Build
_macOS
expire_in
:
1 day
tags
:
-
macos10.13
...
...
BuildServer/Unix/MacOS_resources/build.py
View file @
f0148fef
...
...
@@ -23,8 +23,8 @@ if sys.platform.startswith('darwin'):
'matplotlib_backends'
:
'-'
,
'optimize'
:
'1'
,
'plist'
:
PLIST
,
'bdist_base'
:
'./Build/build'
,
'dist_dir'
:
'./Build/dist'
,
'bdist_base'
:
'./Build
_macOS
/build'
,
'dist_dir'
:
'./Build
_macOS
/dist'
,
'graph'
:
False
,
'xref'
:
False
,
'packages'
:
[
"MDANSE"
,
"MMTK"
,
"Scientific"
]
...
...
BuildServer/Unix/clean.sh
View file @
f0148fef
...
...
@@ -12,4 +12,6 @@ echo -e "${BLUE}""Cleaning repository""${NORMAL}"
rm
-rf
MDANSE_TEMPORARY_INSTALLATION_DIR
rm
-rf
build
rm
-rf
BuildServer/Build_Debian
rm
-rf
BuildServer/Build_macOS
\ No newline at end of file
rm
-rf
BuildServer/Build_macOS
rm
-rf
BuildServer/Unix/Build_Debian
rm
-rf
BuildServer/Unix/Build_macOS
\ No newline at end of file
BuildServer/Unix/definitions_debian.sh
View file @
f0148fef
...
...
@@ -4,7 +4,7 @@ export PYTHONEXE=/usr/bin/python
# The sed -i"" is compulsory other crashes on macos
export
SED_I_COMMAND
=
'sed -i'
export
MDANSE_SOURCE_DIR
=
`
pwd
`
export
MDANSE_TEMPORARY_INSTALLATION_DIR
=
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/Build
export
MDANSE_TEMPORARY_INSTALLATION_DIR
=
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/Build
_Debian
export
PYTHONPATH
=
${
MDANSE_TEMPORARY_INSTALLATION_DIR
}
/lib/python2.7/site-packages/:
${
PYTHONPATH
}
export
RED
=
"
\\
033[1;31m"
export
BLUE
=
"
\\
033[1;34m"
...
...
BuildServer/Unix/definitions_macos.sh
View file @
f0148fef
...
...
@@ -4,7 +4,7 @@ export PYTHONEXE=/Library/Frameworks/Python.framework/Versions/2.7/bin/python
# The sed -i"" is compulsory other crashes on macos
export
SED_I_COMMAND
=
'sed -i ""'
export
MDANSE_SOURCE_DIR
=
`
pwd
`
export
MDANSE_TEMPORARY_INSTALLATION_DIR
=
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/Build
export
MDANSE_TEMPORARY_INSTALLATION_DIR
=
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/Build
_macOS
export
PYTHONPATH
=
${
MDANSE_TEMPORARY_INSTALLATION_DIR
}
/lib/python2.7/site-packages/:
${
PYTHONPATH
}
export
RED
=
"
\\
033[1;31m"
export
BLUE
=
"
\\
033[1;34m"
...
...
BuildServer/Unix/deploy_macos.sh
View file @
f0148fef
...
...
@@ -65,6 +65,6 @@ chmod 777 ${MDANSE_SOURCE_DIR}/BuildServer/Unix/MacOS_resources//change_dylib_pa
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/MacOS_resources//change_dylib_path.sh
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/MacOS_resources/dmg/create-dmg
--background
"
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/MacOS_resources/dmg/dmg_background.jpg"
--volname
"MDANSE"
--window-pos
200 120
--window-size
800 400
--icon
MDANSE.app 200 190
--hide-extension
MDANSE.app
--app-drop-link
600 185
"
${
MDANSE_DMG
}
"
${
MDANSE_TEMPORARY_INSTALLATION_DIR
}
/dist
m
ove
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/
${
MDANSE_DMG
}
${
MDANSE_SOURCE_DIR
}
/BuildServer
m
v
${
MDANSE_SOURCE_DIR
}
/BuildServer/Unix/
${
MDANSE_DMG
}
${
MDANSE_SOURCE_DIR
}
/BuildServer
rm
-rf
${
MDANSE_TEMPORARY_INSTALLATION_DIR
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment