diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-07 11:48:49 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-07 11:48:49 +0000 |
commit | c41c39e36cc1e10699a47d5eca6da396f0173a64 (patch) | |
tree | c315f440164070f692a5b0143d0db4bc6860b83a /ci | |
parent | 433e408c5de7cbb139cfb35e675f2bf73676467b (diff) | |
download | fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.tar.gz fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.zip |
Add: example packages for include directories
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 24 | ||||
-rwxr-xr-x | ci/run_tests.sh | 9 |
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 |