From d9dc4b4fc47182d60f9e18eda36478b9ca8f75fb Mon Sep 17 00:00:00 2001 From: LKedward Date: Sun, 27 Sep 2020 11:43:10 +0100 Subject: Enable fpm CI tests for local path dependency demos --- ci/run_tests.bat | 18 ++++++++++++++++++ ci/run_tests.sh | 7 +++++++ 2 files changed, 25 insertions(+) (limited to 'ci') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index ce79618..9c61d75 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -15,6 +15,7 @@ if errorlevel 1 exit 1 build\gfortran_debug\app\fpm if errorlevel 1 exit 1 + cd ..\test\example_packages\hello_world if errorlevel 1 exit 1 @@ -25,6 +26,23 @@ if errorlevel 1 exit 1 if errorlevel 1 exit 1 +cd ..\hello_fpm +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\hello_fpm +if errorlevel 1 exit 1 + + +cd ..\circular_test +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + + cd ..\hello_complex if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index ee46cac..8c7339f 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -12,6 +12,13 @@ cd ../test/example_packages/hello_world ../../../fpm/build/gfortran_debug/app/fpm build ./build/gfortran_debug/app/hello_world +cd ../hello_fpm +../../../fpm/build/gfortran_debug/app/fpm build +./build/gfortran_debug/app/hello_fpm + +cd ../circular_test +../../../fpm/build/gfortran_debug/app/fpm build + cd ../hello_complex ../../../fpm/build/gfortran_debug/app/fpm build ./build/gfortran_debug/app/say_Hello -- cgit v1.2.3 From 6f8a4466edde51653439f03a34e6fab6f2ff2071 Mon Sep 17 00:00:00 2001 From: LKedward Date: Sun, 27 Sep 2020 12:14:04 +0100 Subject: Add: circular_example demo to fpm CI scripts Now supported with local dev-dependencies --- ci/run_tests.bat | 7 +++++++ ci/run_tests.sh | 3 +++ 2 files changed, 10 insertions(+) (limited to 'ci') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 9c61d75..745f14f 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -43,6 +43,13 @@ if errorlevel 1 exit 1 if errorlevel 1 exit 1 +cd ..\circular_example +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + + cd ..\hello_complex if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 8c7339f..6937c6b 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -19,6 +19,9 @@ cd ../hello_fpm cd ../circular_test ../../../fpm/build/gfortran_debug/app/fpm build +cd ../circular_example +../../../fpm/build/gfortran_debug/app/fpm build + cd ../hello_complex ../../../fpm/build/gfortran_debug/app/fpm build ./build/gfortran_debug/app/say_Hello -- cgit v1.2.3