Streamline
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9b9611f365
commit
5b6bf471fb
@ -8,8 +8,4 @@ WORKDIR /app
|
|||||||
ADD build/install-dependencies.sh /app/
|
ADD build/install-dependencies.sh /app/
|
||||||
RUN ./install-dependencies.sh
|
RUN ./install-dependencies.sh
|
||||||
|
|
||||||
ADD build/build-irrlicht.sh /app/
|
ADD build/build-irrlicht.sh build/build-minetest.sh build/DEBIAN /app/
|
||||||
RUN ./build-irrlicht.sh
|
|
||||||
|
|
||||||
ADD build/build-minetest.sh /app/
|
|
||||||
ADD build/DEBIAN /app/DEBIAN
|
|
||||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -8,7 +8,7 @@ pipeline {
|
|||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
// Build
|
// Build
|
||||||
sh 'cd /app; ./build-minetest.sh'
|
sh 'cd /app; ./build.sh'
|
||||||
// Copy Artifacts
|
// Copy Artifacts
|
||||||
sh 'mkdir out; cp /out/*.deb out'
|
sh 'mkdir out; cp /out/*.deb out'
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd /app
|
|
||||||
|
|
||||||
git clone https://github.com/TheBrokenRail/minetest.git -b desktop-touch
|
git clone https://github.com/TheBrokenRail/minetest.git -b desktop-touch
|
||||||
cd minetest
|
cd minetest
|
||||||
|
|
||||||
|
6
build/build.sh
Executable file
6
build/build.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
./build-irrlicht.sh
|
||||||
|
./build-minetest.sh
|
4
run.sh
4
run.sh
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Build Dependencies
|
# Build Image
|
||||||
docker build ${DOCKER_BUILD_OPTIONS} --tag minetest-dev .
|
docker build ${DOCKER_BUILD_OPTIONS} --tag minetest-dev .
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
rm -rf out
|
rm -rf out
|
||||||
mkdir out
|
mkdir out
|
||||||
docker run --rm -v "$(pwd)/out:/out" minetest-dev ./build-minetest.sh
|
docker run --rm -v "$(pwd)/out:/out" minetest-dev ./build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user