diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-07-21 16:19:01 -0600 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-07-21 16:19:01 -0600 |
commit | 3bb8b39eccafc5acb0ee08a201c09aa0e828ce28 (patch) | |
tree | 39d075631ef9dbe8eb418e151fcc4ca8146b02bb /.github | |
parent | 6de7f236b3784c7e2cf3b8cf3efc06ee5e84f2d5 (diff) | |
download | fpm-3bb8b39eccafc5acb0ee08a201c09aa0e828ce28.tar.gz fpm-3bb8b39eccafc5acb0ee08a201c09aa0e828ce28.zip |
Extract the CI tests into a Bash and Batch files
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CI.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 574c565..784a0d6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -82,12 +82,12 @@ jobs: cd bootstrap stack test - - name: Build and run Fortran fpm + - name: Build and run Fortran fpm (Linux / macOS) + if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') run: | - cd fpm - fpm build - fpm run - fpm run --args build - cd ../test/example_packages/hello_world - ../../../fpm/fpm build - ./hello_world + ci/run_tests.sh + + - name: Build and run Fortran fpm (Windows) + if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') + run: | + call ci/run_tests.bat |