-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enum class for Hjson::Value types * changed default options * assignment and arithmetic operators for all primitive C++ types * read and write comments * convenience file functions * MarshalWithOptions() replaced by Marshal() overload * DefaultOptions() replaced by brace-or-equal-initializers in EncoderOptions
- Loading branch information
Showing
100 changed files
with
4,574 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: test | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: linux-prev-release | ||
os: ubuntu-18.04 | ||
env: | ||
BUILD_TYPE: Release | ||
- name: linux-latest-debug | ||
os: ubuntu-20.04 | ||
env: | ||
BUILD_TYPE: Debug | ||
HJSON_CXX_FLAGS: "-g -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fstack-protector-all -fsanitize=undefined -fno-sanitize-recover" | ||
- name: linux-latest-release | ||
os: ubuntu-20.04 | ||
env: | ||
BUILD_TYPE: Release | ||
- name: linux-strtod | ||
os: ubuntu-20.04 | ||
env: | ||
BUILD_TYPE: Release | ||
HJSON_NUMBER_PARSER: StrToD | ||
- name: mac-release | ||
os: macos-latest | ||
env: | ||
BUILD_TYPE: Release | ||
- name: mac-strtod | ||
os: macos-latest | ||
env: | ||
BUILD_TYPE: Release | ||
HJSON_NUMBER_PARSER: StrToD | ||
- name: windows-debug | ||
os: windows-latest | ||
env: {} | ||
- name: windows-strtod | ||
os: windows-latest | ||
env: | ||
HJSON_NUMBER_PARSER: StrToD | ||
- name: windows-charconv | ||
os: windows-latest | ||
env: | ||
HJSON_NUMBER_PARSER: CharConv | ||
env: ${{ matrix.env }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DHJSON_ENABLE_TEST=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DHJSON_NUMBER_PARSER=${HJSON_NUMBER_PARSER} -DCMAKE_CXX_FLAGS="${HJSON_CXX_FLAGS}" .. && cmake --build . --target runtest | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.