Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
# Installs requirements for PDAL | ||
source ./scripts/ci/common.sh | ||
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192 || return 1 | ||
sudo apt-get install python-software-properties -y || return 1 | ||
sudo add-apt-repository ppa:ubuntugis/ppa -y || return 1 | ||
sudo apt-get update -qq || return 1 | ||
sudo apt-get install cmake libgdal-dev libgeotiff-dev libproj-dev libxml2-dev || return 1 | ||
gcc --version || return 1 | ||
clang --version || return 1 | ||
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192 || exit 1 | ||
sudo apt-get install python-software-properties -y || exit 1 | ||
sudo add-apt-repository ppa:ubuntugis/ppa -y || exit 1 | ||
sudo apt-get update -qq || exit 1 | ||
sudo apt-get install cmake libgdal-dev libgeotiff-dev libproj-dev libxml2-dev || exit 1 | ||
gcc --version || exit 1 | ||
clang --version || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/bin/bash | ||
# Builds and tests PDAL | ||
source ./scripts/ci/common.sh | ||
mkdir -p _build || return 1 | ||
cd _build || return 1 | ||
mkdir -p _build || exit 1 | ||
cd _build || exit 1 | ||
|
||
cmake \ | ||
-DWITH_GDAL=ON \ | ||
-DWITH_GEOTIFF=ON \ | ||
-DWITH_LIBXML2=ON \ | ||
.. \ | ||
|| return 1 | ||
|| exit 1 | ||
|
||
make -j ${NUMTHREADS} || return 1 | ||
make -j ${NUMTHREADS} || exit 1 | ||
|
||
ctest -V --output-on-failure . || return 1 | ||
ctest -V --output-on-failure . || exit 1 |