aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-03-07 11:48:49 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2021-03-07 11:48:49 +0000
commitc41c39e36cc1e10699a47d5eca6da396f0173a64 (patch)
treec315f440164070f692a5b0143d0db4bc6860b83a /ci
parent433e408c5de7cbb139cfb35e675f2bf73676467b (diff)
downloadfpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.tar.gz
fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.zip
Add: example packages for include directories
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat24
-rwxr-xr-xci/run_tests.sh9
2 files changed, 33 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index ae57da6..811baa4 100755
--- a/ci/run_tests.bat
+++ b/ci/run_tests.bat
@@ -187,4 +187,28 @@ if errorlevel 1 exit 1
.\build\gfortran_debug\app\gomp_test
if errorlevel 1 exit 1
+
+cd ..\fortran_includes
+if errorlevel 1 exit 1
+
+del /q /f build
+%fpm_path% build
+if errorlevel 1 exit 1
+
+
+cd ..\c_includes
+if errorlevel 1 exit 1
+
+del /q /f build
+%fpm_path% build
+if errorlevel 1 exit 1
+
+
+cd ..\c_header_only
+if errorlevel 1 exit 1
+
+del /q /f build
+%fpm_path% build
+if errorlevel 1 exit 1
+
cd ..\..
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index f1c4dff..b1f9a7f 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -89,5 +89,14 @@ cd ../link_executable
"${f_fpm_path}" build
./build/gfortran_debug/app/gomp_test
+cd ../fortran_includes
+"${f_fpm_path}" build
+
+cd ../c_includes
+"${f_fpm_path}" build
+
+cd ../c_header_only
+"${f_fpm_path}" build
+
# Cleanup
rm -rf ./*/build