Skip to content

Commit

Permalink
Separating Build and Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharad committed Sep 8, 2023
1 parent 1a963b3 commit c38bafc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,19 @@ jobs:
key: ${{ runner.os }}-${{ matrix.ghc }}-v1-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project*') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-v1-
- name: Test
- name: Install dependencies
run: |
cabal update
cabal build all --only-dependencies
VERSION=0.13.3
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION
source $HOME/.wasmedge/env
- name: Build
run: |
source $HOME/.wasmedge/env
cabal build --flags="TestOnly"
- name: Test
run: |
source $HOME/.wasmedge/env
cabal test all --flags="TestOnly"
1 change: 0 additions & 1 deletion src/WasmEdge/Internal/FFI/ValueTypes.chs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ module WasmEdge.Internal.FFI.ValueTypes
,driverCompiler
,driverTool
,driverUniTool
-- something
,fromHsRefIn
,fromHsRef
,toHsRef
Expand Down

0 comments on commit c38bafc

Please sign in to comment.