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 9f3c31e commit 0b762ec
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- uses: actions/setup-haskell@v1
with:
ghc-version: '9.4.8'
Expand All @@ -33,11 +33,15 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
- 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
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks
cabal build --only-dependencies --enable-tests --enable-benchmarks exe:audiocate
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
run: cabal build --enable-tests --enable-benchmarks exe:audiocate
- name: Run tests
run: cabal test all

0 comments on commit 0b762ec

Please sign in to comment.