diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-07-21 13:29:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 13:29:32 -0600 |
commit | 2dcd2df3692b8769558428ae0ae77d15fcc804f4 (patch) | |
tree | 58b1c7ce207d83d9801f743bcc8e213a2f631a3a /.github | |
parent | ac873ef55037b554019a04ffc1f104d8d0a7b0f5 (diff) | |
parent | 55d59057173235daac3eee96de78b0b35412d0e6 (diff) | |
download | fpm-2dcd2df3692b8769558428ae0ae77d15fcc804f4.tar.gz fpm-2dcd2df3692b8769558428ae0ae77d15fcc804f4.zip |
Merge pull request #131 from certik/f
Initial Fortran infrastructure
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CI.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ca1ba03..f4e2878 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -61,10 +61,29 @@ jobs: --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \ --slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V} - - name: Build + - name: Build Haskell fpm run: | + cd bootstrap stack build + stack install - - name: Run tests + - name: put fpm to PATH (macOS) + if: contains(matrix.os, 'macos') + run: | + cp /Users/runner/.local/bin/fpm /usr/local/bin + + - name: put fpm to PATH (Windows) + if: contains(matrix.os, 'windows') run: | + copy "C:\Users\runneradmin\AppData\Roaming\local\bin\fpm.exe" "C:\Program Files\Git\usr\bin" + + - name: Run tests on Haskell fpm + run: | + cd bootstrap stack test + + - name: Build and run Fortran fpm + run: | + cd fpm + fpm build + fpm run |