aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/CI.yml23
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