Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
6d5f0ba6
Commit
6d5f0ba6
authored
Jun 28, 2021
by
Robin Eschbach
Browse files
[FIX
#464
] permissions and appimage build
parent
fb4b19c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
.gitlab-ci.yml
.gitlab-ci.yml
+12
-3
tools/AppImage/appimage.sh
tools/AppImage/appimage.sh
+5
-1
No files found.
.gitlab-ci.yml
View file @
6d5f0ba6
...
...
@@ -101,13 +101,21 @@ buildAndTestDebug:
buildAppImage
:
stage
:
Build_appimage_stage
image
:
ladbukkit/openwalnut_build_environment:1.2
image
:
appimagecrafters/appimage-builder:0.8.8
script
:
-
pwd
-
cd tools/AppImage
-
mkdir -p tools/AppImage/AppImageBuild
-
rm -rf tools/AppImage/AppImageBuild/AppDir
-
cd build/release
-
pwd
-
ls
-
make install DESTDIR=../../tools/AppImage/AppImageBuild/AppDir
-
pwd
-
cd ../../tools/AppImage
-
pwd
-
ls
-
./appimage.sh build
-
chmod +x appimage.sh
-
./appimage.sh package
uploadArtifacts
:
stage
:
Upload_artifacts_stage
...
...
@@ -117,4 +125,5 @@ uploadArtifacts:
-
cd tools/upload
-
pwd
-
ls
-
chmod +x seafile.sh
-
./seafile.sh
tools/AppImage/appimage.sh
View file @
6d5f0ba6
...
...
@@ -29,7 +29,7 @@ BUILD_DIR=AppImageBuild
Build
()
{
echo
"* Creating build folder"
mkdir
$BUILD_DIR
mkdir
-p
$BUILD_DIR
cd
$BUILD_DIR
echo
"* Configure build system"
...
...
@@ -100,6 +100,7 @@ UsageExit()
echo
" COMMANDS:"
echo
" clean: removes created build sub-directories"
echo
" build: does the building and packaging."
echo
" package: only packages"
echo
""
exit
2
}
...
...
@@ -112,6 +113,9 @@ case "$1" in
build
)
BuildAll
||
exit
$?
;;
package
)
Package
||
exit
$?
;;
*
)
UsageExit
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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