mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
812f8823d2
* ci: update to checkout v6 v4 and older causes warnings about deprecated node.js * ci: update to actions cache v5 the older versions cause deprecation warings for node.js 20
27 lines
921 B
YAML
27 lines
921 B
YAML
name: Ubuntu 24.04 CI
|
|
|
|
on: [push, pull_request]
|
|
jobs:
|
|
ubuntu-build:
|
|
if: >-
|
|
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
|
|
! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
|
runs-on: ubuntu-24.04
|
|
strategy:
|
|
matrix:
|
|
shared: [ON, OFF]
|
|
cxx: [g++-13, clang++-16]
|
|
sanitizer: [ON, OFF]
|
|
nan_inf: [ON, OFF]
|
|
build_type: [RelWithDebInfo, Debug, Release]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Prepare
|
|
run: cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMDJSON_DEVELOPER_MODE=ON -DSIMDJSON_SANITIZE=${{matrix.sanitizer}} -DBUILD_SHARED_LIBS=${{matrix.shared}} -DSIMDJSON_ENABLE_NAN_INF=${{matrix.nan_inf}} -B build
|
|
env:
|
|
CXX: ${{matrix.cxx}}
|
|
- name: Build
|
|
run: cmake --build build -j=2
|
|
- name: Test
|
|
run: ctest --output-on-failure --test-dir build
|