aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2020-03-02 14:07:11 -0600
committerHoward Butler <howard@hobu.co>2020-03-02 14:07:11 -0600
commitf95de975aa383e39c8214b65a3d7d05c37d9ff4d (patch)
tree39902da7512a1062f4068e0920782a8aa297e580 /scripts
parent404c73a22ea9c642db08205566da699589ecc38e (diff)
downloadPROJ-f95de975aa383e39c8214b65a3d7d05c37d9ff4d.tar.gz
PROJ-f95de975aa383e39c8214b65a3d7d05c37d9ff4d.zip
minimal azp config
Diffstat (limited to 'scripts')
-rw-r--r--scripts/azp/linux.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/azp/linux.yml b/scripts/azp/linux.yml
new file mode 100644
index 00000000..d8e18e26
--- /dev/null
+++ b/scripts/azp/linux.yml
@@ -0,0 +1,33 @@
+# -*- mode: yaml -*-
+
+jobs:
+- job: linux_gcc
+ pool:
+ vmImage: ubuntu-16.04
+ timeoutInMinutes: 60
+ variables:
+ ARCH:i386
+ CC:gcc-8
+ CXX:g++-8
+ CXXFLAGS:'-g -O2 -m32 -D_GLIBCXX_ASSERTIONS'
+ CFLAGS:'-g -O2 -m32'
+ TIFF_CFLAGS:-I/usr/include/i386-linux-gnu
+ TIFF_LIBS:"-L/usr/lib/i386-linux-gnu -ltiff"
+ SQLITE3_CFLAGS:-I/usr/include/i386-linux-gnu
+ SQLITE3_LIBS:"-L/usr/lib/i386-linux-gnu -lsqlite3"
+ steps:
+ - script: |
+ mkdir build
+ cd build
+ cmake .. \
+ -G Ninja \
+ -DCMAKE_BUILD_TYPE=Debug \
+ displayName: 'CMake'
+ - script: |
+ cd build
+ ninja
+ displayName: 'Build'
+ - script: |
+ cd build
+ ctest -V
+ displayName: 'Test'