Skip to content

Commit

Permalink
ci: add more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Dec 14, 2024
1 parent 11779d8 commit 059eb46
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/test-ghcup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4

- uses: ./ghcup
with:
version: ${{ matrix.version }}
Expand All @@ -32,7 +31,27 @@ jobs:
- run: ghcup whereis ghc latest
- run: which ghc
- run: ghc --version


- if: ${{ matrix.runs-on == 'windows' }}
run: ghcup run bash -- -c 'echo yes'

all-tools:
strategy:
matrix:
runs-on:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: ./ghcup

- run: ghcup config
- run: ghcup debug-info
- run: ghcup tool-requirements
- run: ghcup list

- run: ghcup install cabal latest --set
- run: ghcup whereis cabal latest
- run: which cabal
Expand Down Expand Up @@ -69,8 +88,3 @@ jobs:
- run: ghcup debug-info
- run: ghcup tool-requirements
- run: ghcup list

- run: ghcup install ghc latest --set
- run: ghcup whereis ghc latest
- run: which ghc
- run: ghc --version

0 comments on commit 059eb46

Please sign in to comment.