ci: tweak
This commit is contained in:
parent
b2fcdcda16
commit
8c9ca24adf
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
@ -115,8 +115,8 @@ jobs:
|
||||
mkdir -p ~/.local/bin
|
||||
export PATH=~/.local/bin:$PATH
|
||||
brew install gnu-tar
|
||||
curl -sL https://get.haskellstack.org/stable/osx-x86_64 | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
|
||||
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://get.haskellstack.org/stable/osx-x86_64 | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
|
||||
curl -sL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
|
||||
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
|
||||
stack --version
|
||||
|
||||
- name: Install GHC
|
||||
|
||||
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
@ -121,13 +121,12 @@ jobs:
|
||||
#if: steps.stack-programs-dir.outputs.cache-hit != 'true'
|
||||
# this step is needed to get stack.exe into PATH, for now
|
||||
run: |
|
||||
# url is not consistent for windows
|
||||
# curl -sL https://get.haskellstack.org/stable/windows-x86_64 -o stack.zip
|
||||
curl -sL http://www.stackage.org/stack/windows-x86_64 -o stack.zip
|
||||
curl -sL https://get.haskellstack.org/stable/windows-x86_64.zip -o stack.zip
|
||||
# 7z x stack.zip -oC:\Windows stack.exe
|
||||
7z x stack.zip stack.exe
|
||||
which stack
|
||||
./stack --version
|
||||
stack --version
|
||||
|
||||
# resolver lts-15.3 to avoid GHC 8.8.3 access violation, https://gitlab.haskell.org/ghc/ghc/issues/17926:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user