aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2024-03-15 22:45:37 +0200
committerPetri Lehtinen <petri@digip.org>2024-03-25 20:08:23 +0200
commit9d3abab61047fdc8f5bc8e5e33740549e59221c2 (patch)
tree812edeb2236a56915254e96e2fbec5bf9920b203
parent9699de8600c8fc74b9820f70f1bd73bc616bdc1c (diff)
downloadjansson-9d3abab61047fdc8f5bc8e5e33740549e59221c2.zip
jansson-9d3abab61047fdc8f5bc8e5e33740549e59221c2.tar.gz
jansson-9d3abab61047fdc8f5bc8e5e33740549e59221c2.tar.bz2
Test with and without dtoa in CI
-rw-r--r--.github/workflows/tests.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 822c665..6ca23dc 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: