diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0bc485d..46fcf820 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: @@ -63,4 +64,4 @@ jobs: - run: sudo apt update && sudo apt install valgrind - run: cmake -DJANSSON_TEST_WITH_VALGRIND=ON . - run: cmake --build . - - run: ctest \ No newline at end of file + - run: ctest