Skip to content

Commit

Permalink
CI: Test with and without dtoa
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Mar 15, 2024
1 parent b323b80 commit 1204c6f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@ 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'}}
run: brew install autoconf automake libtool
- 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:
Expand Down Expand Up @@ -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
- run: ctest

0 comments on commit 1204c6f

Please sign in to comment.