diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-02-25 10:57:26 -0800 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-02-25 10:57:26 -0800 |
commit | 2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc (patch) | |
tree | 0060f7dfbe37dda4b7ab1d2fcee30307598e8522 | |
parent | bbb021b74fc7009fe905b0015ad4cca85bfe0a0d (diff) | |
download | fpm-2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc.tar.gz fpm-2fffd79862b5c0bf2f6d02bb2dee1f25d63b22bc.zip |
CI: Install Haskell on Windows manually
-rw-r--r-- | .github/workflows/CI.yml | 10 |
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: | |