From 97b1efb0cb02e6700e653ee44a73a29159e85d39 Mon Sep 17 00:00:00 2001 From: Julia Longtin Date: Thu, 2 Nov 2023 22:39:43 +0000 Subject: [PATCH 1/2] use temporary forks of floating point libraries. --- cabal.project | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cabal.project b/cabal.project index 17375f678..58b7eaeff 100644 --- a/cabal.project +++ b/cabal.project @@ -1,3 +1,14 @@ packages: . tests: True documentation: True + +source-repository-package + type: git + location: https://github.com/julialongtin/floating-bits.git + tag: 3362f22 + +source-repository-package + type: git + location: https://github.com/julialongtin/haskell-floating-point.git + tag: 76df773 + subdir: rounded-hw From c9453a3dbd75f9f55971fc1e1e4e4150ca5cd6ba Mon Sep 17 00:00:00 2001 From: Julia Longtin Date: Thu, 2 Nov 2023 23:25:10 +0000 Subject: [PATCH 2/2] test against new ghc, cabal version. --- .github/workflows/ci.yaml | 3 ++- hslice.cabal | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8db93aa0c..1072e9125 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,8 +33,9 @@ jobs: strategy: matrix: cabal: - - '3.2' + - '3.10' ghc: + - '9.4.6' - '8.10.4' - '8.8.4' name: Haskell CI diff --git a/hslice.cabal b/hslice.cabal index f5531e6d4..cd68b3cf4 100644 --- a/hslice.cabal +++ b/hslice.cabal @@ -5,10 +5,10 @@ license: AGPL-3.0-or-later license-file: LICENSE maintainer: Julia Longtin author: Julia Longtin -tested-with: ghc >=8.8 -homepage: http://implicitcad.org/ +tested-with: GHC == 8.8.4, GHC == 8.10.4, GHC == 9.4.6 +homepage: https://implicitcad.org/ synopsis: A GCode generator, that accepts STL files. -description: A slicer in haskell. Use it to slice 3D prints. +description: A slicer in Haskell. Use it to slice 3D prints. category: Graphics build-type: Simple