Setup more builds
diff --git a/.appveyor.yml b/.appveyor.yml
index 9c01ae9..19c3000 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -8,9 +8,18 @@
- release
- debug
+environment:
+ - OPTIONS=-Duse_context=ON
+ - OPTIONS=-Duse_context=OFF
+ - OPTIONS=-Dno_floats=ON
+ - OPTIONS=-Dalign_reads=ON
+
before_build:
- - cmake -G "Visual Studio 16 2019" -Dfatal_warnings=OFF
+ - cmake -G "Visual Studio 16 2019" -Dfatal_warnings=OFF $(OPTIONS)
build:
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
+test:
+ - cd dist\test\$(CONFIGURATION)
+ - cbor_test.exe
diff --git a/.gitignore b/.gitignore
index 5fdd120..241e782 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,8 @@
new.out
*.o
build
+Testing/Temporary
+*.pc
# Emacs temp files
*~
@@ -11,6 +13,7 @@
# Visual Stdio build directories
Debug
Release
+v16
*.sln
*.vcxproj
*.vcxproj.filters
@@ -25,3 +28,4 @@
Makefile
*.cmake
install_manifest.txt
+*.tcl
diff --git a/.travis.yml b/.travis.yml
index 1d16cc7..c84c600 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,13 @@
language: c
compiler:
-- clang
-- gcc
-sudo: false
+ - clang
+ - gcc
+
+env:
+ - OPTIONS=-Duse_context=OFF
+ - OPTIONS=-Duse_context=ON
+ - OPTIONS=-Dno_floats=ON
+
addons:
apt:
sources:
@@ -12,6 +17,3 @@
- cmake-data
script:
- "./build.sh all test"
-notifications:
- slack:
- secure: WdgYxQrnFR5eu/eKygPuLjlFsuZxD9m2PLRWTLT85aj+18Gp2ooPjnI9UFdb1xY87+4InhWk6PvQU35j4bG0etPQtX+0H4T4Zdk/aD6KxgJBHIYGqtfZUMmdFfVpUH9cCPx99Jjw81mhKrxM+6rXiZdiWXuNhvbJOApRT6uxE2k=
diff --git a/build.sh b/build.sh
index 69dd2e9..0da9e18 100755
--- a/build.sh
+++ b/build.sh
@@ -2,4 +2,4 @@
if [ ! -d "build" ]; then
mkdir build
fi
-cd build && cmake .. && make $*
+cd build && cmake .. $OPTIONS && make $*