From 08425b7fa95c2ad160c766fd081af1722c5aae33 Mon Sep 17 00:00:00 2001
From: Petri Lehtinen <petri@digip.org>
Date: Fri, 15 Mar 2024 22:45:37 +0200
Subject: [PATCH] Test with and without dtoa in CI

---
 .github/workflows/tests.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 822c665b..6ca23dca 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -18,8 +18,9 @@ jobs:
       matrix:
         os: ["ubuntu-latest", "macos-latest"]
         cc: ["gcc", "clang"]
+        dtoa: ["yes", "no"]
 
-    runs-on: ${{matrix.os}}
+    runs-on: ${{ matrix.os }}
 
     steps:
       - if: ${{runner.os == 'macOS'}}
@@ -27,9 +28,9 @@ jobs:
       - uses: actions/checkout@v4
       - run: autoreconf -fi
       - env:
-          CC: ${{matrix.cc}}
+          CC: ${{ matrix.cc }}
           CFLAGS: -Werror
-        run: ./configure
+        run: ./configure --enable-dtoa=${{ matrix.dtoa }}
       - run: make check
 
   cmake: