Skip to content

Commit

Permalink
Inline THLinkTest into alpine job
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Jul 19, 2022
1 parent c28d8e5 commit cef9848
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/simdutf-flag-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
- uses: actions/checkout@v2
- name: Test
run: |
cat > THLinkTest.hs <<EOF
{-# LANGUAGE TemplateHaskell #-}
import Debug.Trace
import Data.Text
main :: IO ()
main = return ()
( traceM (unpack (pack "test")) >> pure [] )
EOF
cabal build -f-simdutf --disable-tests --disable-benchmarks
cabal exec -f-simdutf --disable-tests --disable-benchmarks ghc -- tests/THLinkTest.hs
cabal exec -f-simdutf --disable-tests --disable-benchmarks ghc -- THLinkTest.hs
shell: bash
12 changes: 0 additions & 12 deletions tests/THLinkTest.hs

This file was deleted.

0 comments on commit cef9848

Please sign in to comment.