Fix jenkins release build script
Properly build the source package.
This commit is contained in:
parent
d243047bf8
commit
427964586c
2 changed files with 7 additions and 3 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 979fc9785b2f91e1a7551dc1cd28743e2310759a
|
||||
Subproject commit 0c78392cc0112a3b5cb9312ab8039693994877c9
|
|
@ -3,6 +3,8 @@
|
|||
cd simgear
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
||||
|
||||
# first make source package (clean directory), finally compile
|
||||
make package_source
|
||||
make
|
||||
|
||||
if [ $? -ne '0' ]; then
|
||||
|
@ -11,12 +13,14 @@ if [ $? -ne '0' ]; then
|
|||
fi
|
||||
|
||||
make install
|
||||
make dist
|
||||
|
||||
echo "Starting on FlightGear"
|
||||
|
||||
cd ../flightgear
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
||||
|
||||
# first source package (clean directory), finally compile
|
||||
make package_source
|
||||
make
|
||||
|
||||
if [ $? -ne '0' ]; then
|
||||
|
@ -25,4 +29,4 @@ if [ $? -ne '0' ]; then
|
|||
fi
|
||||
|
||||
make install
|
||||
make dist
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue