Commit 401ee393 authored by Francesco Gazzetta's avatar Francesco Gazzetta

Fix containerless CI jobs by upgrading to ghc 8.10

8.6 was no longer included in the image
parent 2ed6cf94
......@@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- name: bootstrap.py
run: |
python3 bootstrap/bootstrap.py -w /opt/ghc/8.6.5/bin/ghc -d bootstrap/linux-8.6.5.json
python3 bootstrap/bootstrap.py -w /opt/ghc/8.10.4/bin/ghc -d bootstrap/linux-8.10.4.json
- name: Smoke test
run: |
......@@ -42,17 +42,17 @@ jobs:
- name: Install GHC
run: |
cd $(mktemp -d)
curl -sLO "https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-apple-darwin.tar.xz"
curl -sLO "https://downloads.haskell.org/~ghc/8.10.4/ghc-8.10.4-x86_64-apple-darwin.tar.xz"
tar -xJf ghc-*.tar.xz
cd ghc-*
./configure --prefix=/opt/ghc/8.6.5
./configure --prefix=/opt/ghc/8.10.4
sudo make install
- uses: actions/checkout@v2
# We use linux dependencies
- name: bootstrap.py
run: |
python3 bootstrap/bootstrap.py -w /opt/ghc/8.6.5/bin/ghc -d bootstrap/linux-8.6.5.json
python3 bootstrap/bootstrap.py -w /opt/ghc/8.10.4/bin/ghc -d bootstrap/linux-8.10.4.json
- name: Smoke test
run: |
......
......@@ -27,7 +27,7 @@ jobs:
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.6.5/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
- uses: actions/cache@v1
with:
path: ~/.cabal/store
......@@ -56,7 +56,7 @@ jobs:
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.6.5/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
- name: Install cabal-env
run: |
mkdir -p $HOME/.cabal/bin
......
......@@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- name: bootstrap.py
run: |
python3 bootstrap/bootstrap.py -w /opt/ghc/8.6.5/bin/ghc -d bootstrap/linux-8.6.5.json
python3 bootstrap/bootstrap.py -w /opt/ghc/8.10.4/bin/ghc -d bootstrap/linux-8.10.4.json
- name: Smoke test
run: |
......@@ -42,17 +42,17 @@ jobs:
- name: Install GHC
run: |
cd $(mktemp -d)
curl -sLO "https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-apple-darwin.tar.xz"
curl -sLO "https://downloads.haskell.org/~ghc/8.10.4/ghc-8.10.4-x86_64-apple-darwin.tar.xz"
tar -xJf ghc-*.tar.xz
cd ghc-*
./configure --prefix=/opt/ghc/8.6.5
./configure --prefix=/opt/ghc/8.10.4
sudo make install
- uses: actions/checkout@v2
# We use linux dependencies
- name: bootstrap.py
run: |
python3 bootstrap/bootstrap.py -w /opt/ghc/8.6.5/bin/ghc -d bootstrap/linux-8.6.5.json
python3 bootstrap/bootstrap.py -w /opt/ghc/8.10.4/bin/ghc -d bootstrap/linux-8.10.4.json
- name: Smoke test
run: |
......
......@@ -27,7 +27,7 @@ jobs:
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.6.5/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
- uses: actions/cache@v1
with:
path: ~/.cabal/store
......@@ -56,7 +56,7 @@ jobs:
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.6.5/bin" >> $GITHUB_PATH
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
- name: Install cabal-env
run: |
mkdir -p $HOME/.cabal/bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment