From 35f4779647ddab4ef7edef26b4e0027004d6c756 Mon Sep 17 00:00:00 2001 From: LKedward Date: Fri, 18 Sep 2020 11:38:13 +0100 Subject: Add: example package with submodules --- ci/run_tests.bat | 7 +++++++ ci/run_tests.sh | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 2aa27e7..5a4d624 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -51,4 +51,11 @@ if errorlevel 1 exit 1 if errorlevel 1 exit 1 .\build\gfortran_debug\app\with_c +if errorlevel 1 exit 1 + + +cd ..\submodules +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build if errorlevel 1 exit 1 \ No newline at end of file diff --git a/ci/run_tests.sh b/ci/run_tests.sh index ea29da8..1f6d867 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -21,4 +21,7 @@ cd ../hello_complex cd ../with_c ../../../fpm/build/gfortran_debug/app/fpm build -./build/gfortran_debug/app/with_c \ No newline at end of file +./build/gfortran_debug/app/with_c + +cd ../submodules +../../../fpm/build/gfortran_debug/app/fpm build \ No newline at end of file -- cgit v1.2.3