Skip to content

Commit

Permalink
Update haskell.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sigrdrifa authored Jun 8, 2024
1 parent e20c557 commit 42eb742
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-haskell@v1
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.6.4'
ghc-version: '9.4'
cabal-version: '3.6'

- name: Cache
Expand All @@ -33,15 +33,11 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install base dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsndfile-dev libsdl2-dev libgirepository1.0-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev libadwaita-1-dev
- name: Install cabal dependencies
- name: Install dependencies
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks exe:audiocate
cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal build --enable-tests --enable-benchmarks exe:audiocate
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
run: make test

0 comments on commit 42eb742

Please sign in to comment.