From 0a23ebbfef20349a2f3df806e8bec94ae70748ec Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 7 May 2026 13:10:42 -0400 Subject: [PATCH] adding gcc16 (#2712) --- .github/workflows/gcc16.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/gcc16.yml diff --git a/.github/workflows/gcc16.yml b/.github/workflows/gcc16.yml new file mode 100644 index 000000000..a834b5ec6 --- /dev/null +++ b/.github/workflows/gcc16.yml @@ -0,0 +1,26 @@ +name: gcc 16 + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + container: + image: 'gcc:16' + steps: + - uses: actions/checkout@v6 + - name: Install dependencies + run: | + apt -y update + apt -y --no-install-recommends install cmake ninja-build + - name: Build and test + run: | + cmake -B build -D SIMDJSON_STATIC_REFLECTION=ON -DSIMDJSON_DEVELOPER_MODE=ON -GNinja + cmake --build build + ctest --test-dir build --parallel $(nproc)