|
18 | 18 | - created
|
19 | 19 |
|
20 | 20 | jobs:
|
| 21 | + validate-8_10_1: |
| 22 | + name: validate.sh ghc-8.10.1 |
| 23 | + runs-on: ubuntu-18.04 |
| 24 | + needs: validate-8_8_3 |
| 25 | + container: |
| 26 | + image: phadej/ghc:8.10.1-bionic |
| 27 | + steps: |
| 28 | + # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#add-a-system-path-add-path |
| 29 | + - name: Set PATH |
| 30 | + run: | |
| 31 | + echo "::add-path::$HOME/.cabal/bin" |
| 32 | + - name: Install cabal-plan |
| 33 | + run: | |
| 34 | + mkdir -p $HOME/.cabal/bin |
| 35 | + curl -sL https://github.com/haskell-hvr/cabal-plan/releases/download/v0.6.2.0/cabal-plan-0.6.2.0-x86_64-linux.xz > cabal-plan.xz |
| 36 | + echo "de73600b1836d3f55e32d80385acc055fd97f60eaa0ab68a755302685f5d81bc cabal-plan.xz" | sha256sum -c - |
| 37 | + xz -d < cabal-plan.xz > $HOME/.cabal/bin/cabal-plan |
| 38 | + rm -f cabal-plan.xz |
| 39 | + chmod a+x $HOME/.cabal/bin/cabal-plan |
| 40 | + - name: Update Hackage index |
| 41 | + run: cabal v2-update |
| 42 | + # https://github.com/actions/checkout/issues/170 |
| 43 | + # - uses: actions/checkout@v2 |
| 44 | + - name: Checkout |
| 45 | + run: | |
| 46 | + git clone --depth 1 https://github.com/$GITHUB_REPOSITORY.git . |
| 47 | + git fetch origin $GITHUB_REF:temporary-ci-branch |
| 48 | + git checkout $GITHUB_SHA |
| 49 | + - name: Validate print-config |
| 50 | + run: sh validate.sh -j 2 -w ghc-8.10.1 -v --lib-only -s print-config |
| 51 | + - name: Validate print-tool-versions |
| 52 | + run: sh validate.sh -j 2 -w ghc-8.10.1 -v --lib-only -s print-tool-versions |
| 53 | + - name: Validate build |
| 54 | + run: sh validate.sh -j 2 -w ghc-8.10.1 -v --lib-only -s build |
| 55 | + - name: Validate lib-tests |
| 56 | + run: sh validate.sh -j 2 -w ghc-8.10.1 -v --lib-only -s lib-tests |
| 57 | + - name: Validate lib-suite |
| 58 | + run: sh validate.sh -j 2 -w ghc-8.10.1 -v --lib-only -s lib-suite |
21 | 59 | validate-8_8_3:
|
22 | 60 | name: validate.sh ghc-8.8.3
|
23 | 61 | runs-on: ubuntu-18.04
|
|
0 commit comments