Skip to content

Latest commit

 

History

98 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Linux

Build ugis on Ubuntu 26.04

Install the compiler and development packages:

sudo apt-get update
sudo apt-get install --yes --no-install-recommends \
  gcc-15 \
  g++-15 \
  make \
  pkg-config \
  qmake6 \
  qt6-base-dev \
  libboost-dev \
  libcurl4-openssl-dev \
  libgdal-dev \
  libjpeg-dev \
  default-libmysqlclient-dev \
  libpng-dev \
  libpq-dev \
  libspatialite-dev \
  libsqlite3-dev \
  libtbb-dev \
  unixodbc-dev \
  xauth \
  xvfb

Configure and build:

cd example/ugis
qmake6 ugis.pro QMAKE_CC=gcc-15 QMAKE_CXX=g++-15
make --jobs=2

Run a ten-second smoke test on a virtual display:

status=0
timeout --kill-after=5s 10s xvfb-run --auto-servernum ./ugis || status=$?
test "$status" -eq 124

Build and run the autonomous tests (no database servers or network access are required):

cd test
make --file=linux.makefile --jobs=2 CXX=g++-15
make --file=linux.makefile test CXX=g++-15

Run the PostgreSQL tests against a local PostGIS-enabled server:

make --file=linux.makefile test-postgres CXX=g++-15 \
  TEST_PASSWORD=Password12! TEST_POSTGRES_HOST=localhost

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages