From c41c39e36cc1e10699a47d5eca6da396f0173a64 Mon Sep 17 00:00:00 2001 From: LKedward Date: Sun, 7 Mar 2021 11:48:49 +0000 Subject: Add: example packages for include directories --- ci/run_tests.bat | 24 ++++++++++++++++++++++++ ci/run_tests.sh | 9 +++++++++ 2 files changed, 33 insertions(+) (limited to 'ci') 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 -- cgit v1.2.3