From 2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 25 Feb 2020 10:57:26 -0800 Subject: CI: Install Haskell on Windows manually --- .github/workflows/CI.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: | -- cgit v1.2.3