Skip to content

Commit

Permalink
Merge branch 'master' into tikz
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanssen2 authored Dec 17, 2023
2 parents e3a5888 + cfb57a1 commit b15c525
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: test-unit
run: make test-unit
# we need to install Haskell (especially the System.Random lib) for paralell tests, since we compare Haskell ADP with gapc
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
cabal-version: '3.6.2.0' # pin version on 2023-02-09 to enable proper cabal installtion
id: haskell
Expand All @@ -71,15 +71,17 @@ jobs:
strategy:
matrix:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
os: [macos-11]
os: [macos-12]
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: brew install bison@2.7 cmake boost gsl gnu-sed libomp gmp cabal-install
run: brew install bison@2.7 cmake boost gsl gnu-sed libomp gmp cabal-install ghc
- name: update cabal
run: cabal update
- name: add random Haskell lib
run: cabal install --lib random
- name: add base Haskell lib containers (prelude, Data.Map, Data.Map.Strict)
run: cabal install --lib base
- name: Checkout truth
run: git clone --branch tikz https://github.com/jlab/gapc-test-suite.git $GITHUB_WORKSPACE/../gapc-test-suite

Expand Down
2 changes: 1 addition & 1 deletion testdata/tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build_cpp()

build_haskell()
{
log ${GHC} --make $LHS_DIR/$1 -i$LHS_DIR -hidir ./GHC -odir ./GHC -o $2
log ${GHC} -package array -package containers --make $LHS_DIR/$1 -i$LHS_DIR -hidir ./GHC -odir ./GHC -o $2
}

run_cpp()
Expand Down

0 comments on commit b15c525

Please sign in to comment.