aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-02-25 10:57:26 -0800
committerOndřej Čertík <ondrej@certik.us>2020-02-25 10:57:26 -0800
commit2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc (patch)
tree0060f7dfbe37dda4b7ab1d2fcee30307598e8522 /.github/workflows
parentbbb021b74fc7009fe905b0015ad4cca85bfe0a0d (diff)
downloadfpm-2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc.tar.gz
fpm-2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc.zip
CI: Install Haskell on Windows manually
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/CI.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index c73bb3b..37ca589 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -27,9 +27,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1
- - name: Install Haskell
+ - name: Install Haskell Linux / macOS
+ if: contains(matrix.os, 'ubuntu') or contains(matrix.os, 'macos')
uses: mstksg/setup-stack@v1
+ - name: Install Haskell Windows
+ if: contains(matrix.os, 'windows')
+ run: |
+ wget https://get.haskellstack.org/stable/windows-x86_64.zip
+ unzip windows-x86_64.zip
+ copy windows-x86_64\stack.exe %APPDATA%\local\bin
+
- name: Install GFortran Linux
if: contains(matrix.os, 'ubuntu')
run: |