Streamline
Some checks failed
Minetest-For-Mobile/pipeline/head There was a failure building this commit

This commit is contained in:
TheBrokenRail 2020-12-21 15:11:17 -05:00
parent 9b9611f365
commit 5b6bf471fb
5 changed files with 10 additions and 10 deletions

View File

@ -8,8 +8,4 @@ WORKDIR /app
ADD build/install-dependencies.sh /app/
RUN ./install-dependencies.sh
ADD build/build-irrlicht.sh /app/
RUN ./build-irrlicht.sh
ADD build/build-minetest.sh /app/
ADD build/DEBIAN /app/DEBIAN
ADD build/build-irrlicht.sh build/build-minetest.sh build/DEBIAN /app/

2
Jenkinsfile vendored
View File

@ -8,7 +8,7 @@ pipeline {
stage('Build') {
steps {
// Build
sh 'cd /app; ./build-minetest.sh'
sh 'cd /app; ./build.sh'
// Copy Artifacts
sh 'mkdir out; cp /out/*.deb out'
}

View File

@ -2,8 +2,6 @@
set -e
cd /app
git clone https://github.com/TheBrokenRail/minetest.git -b desktop-touch
cd minetest

6
build/build.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
./build-irrlicht.sh
./build-minetest.sh

4
run.sh
View File

@ -2,10 +2,10 @@
set -e
# Build Dependencies
# Build Image
docker build ${DOCKER_BUILD_OPTIONS} --tag minetest-dev .
# Extract
rm -rf 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