diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-11-10 20:28:43 +0100 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-11-13 09:34:56 +0100 |
commit | fcc971fd8703c37b8e0e02dabfe95138b4979309 (patch) | |
tree | b136962c5f5de1543c450ac4e0954504fd5e0804 /ci | |
parent | cc7fc6ec36b9075f3709864e17301b691cf6b870 (diff) | |
download | fpm-fcc971fd8703c37b8e0e02dabfe95138b4979309.tar.gz fpm-fcc971fd8703c37b8e0e02dabfe95138b4979309.zip |
Allow external link dependencies with scope limited to targets
- move reader for string list to toml-f proxy
- allow link entry in executable and test tables
- bump toml-f version to v0.2.1
- add example package linking a single executable against gomp
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 10 | ||||
-rwxr-xr-x | ci/run_tests.sh | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 0c0339c..44f6e5c 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -132,3 +132,13 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\app\Program_with_module if errorlevel 1 exit 1 + + +cd ..\link_executable +if errorlevel 1 exit 1 + +%fpm_path% build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\gomp_test +if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index d5d3045..894b1f0 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -73,3 +73,7 @@ cd ../program_with_module cd ../link_external "${f_fpm_path}" build ./build/gfortran_debug/app/link_external + +cd ../link_executable +"${f_fpm_path}" build +./build/gfortran_debug/app/gomp_test |