Skip to content

Commit

Permalink
Add job for linux and 9.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Mar 3, 2022
1 parent 3be194b commit 63bf15a
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,34 @@ on:
- created

jobs:
validate-9_2_1:
name: validate.sh ghc-9.2.1
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- uses: haskell/actions/setup@v1
id: setup-haskell
with:
ghc-version: 9.2.1
cabal-version: latest # default, keeping for visibility

- name: Install cabal-plan
run: |
cd $(mktemp -d)
cabal install cabal-plan --constraint='cabal-plan +exe'
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
- name: Validate print-config
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s print-config
- name: Validate print-tool-versions
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s print-tool-versions
- name: Validate build
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s build
- name: Validate lib-tests
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s lib-tests
- name: Validate lib-suite
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s lib-suite
validate-9_0_1:
name: validate.sh ghc-9.0.1
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -48,15 +76,15 @@ jobs:
git fetch origin $GITHUB_SHA:temporary-ci-branch
git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA)
- name: Validate print-config
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s print-config
run: sh validate.sh -j 2 -w ghc-9.2.1 -v --lib-only -s print-config
- name: Validate print-tool-versions
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s print-tool-versions
run: sh validate.sh -j 2 -w ghc-9.2.1 -v --lib-only -s print-tool-versions
- name: Validate build
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s build
run: sh validate.sh -j 2 -w ghc-9.2.1 -v --lib-only -s build
- name: Validate lib-tests
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s lib-tests
run: sh validate.sh -j 2 -w ghc-9.2.1 -v --lib-only -s lib-tests
- name: Validate lib-suite
run: sh validate.sh -j 2 -w ghc-9.0.1 -v --lib-only -s lib-suite
run: sh validate.sh -j 2 -w ghc-9.2.1 -v --lib-only -s lib-suite
validate-8_10_4:
name: validate.sh ghc-8.10.4
runs-on: ubuntu-18.04
Expand Down

0 comments on commit 63bf15a

Please sign in to comment.