forked from qicosmos/iguana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gsk/add_get_field_any' of github.com:171930433/yalantin…
…glibs into gsk/add_get_field_any
- Loading branch information
Showing
36 changed files
with
12,340 additions
and
373 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 |
---|---|---|
|
@@ -9,41 +9,41 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
windows_msvc: | ||
runs-on: windows-latest | ||
# windows_msvc: | ||
# runs-on: windows-latest | ||
|
||
strategy: | ||
matrix: | ||
mode: [ Release ] #[ Release, Debug ] #Debug not support ccache | ||
#https://github.com/ccache/ccache/wiki/MS-Visual-Studio | ||
#https://github.com/ccache/ccache/issues/1040 | ||
arch: [ amd64, x86 ] #[ amd64,x86 ] | ||
ssl: [ OFF ] #[ ON, OFF ] | ||
# strategy: | ||
# matrix: | ||
# mode: [ Release ] #[ Release, Debug ] #Debug not support ccache | ||
# #https://github.com/ccache/ccache/wiki/MS-Visual-Studio | ||
# #https://github.com/ccache/ccache/issues/1040 | ||
# arch: [ amd64, x86 ] #[ amd64,x86 ] | ||
# ssl: [ OFF ] #[ ON, OFF ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Enable Developer Command Prompt | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ matrix.arch }} | ||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
with: | ||
version: 1.11.1 | ||
- name: latest ccache | ||
run: choco install ccache | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.mode}}-ssl( ${{ matrix.ssl}} )-arch-${{ matrix.arch}} | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}\build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DYLT_ENABLE_SSL=${{matrix.ssl}} -DUSE_CCACHE=ON | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}\build | ||
- name: Test | ||
working-directory: ${{github.workspace}}\build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
# - name: Enable Developer Command Prompt | ||
# uses: ilammy/[email protected] | ||
# with: | ||
# arch: ${{ matrix.arch }} | ||
# - name: Install ninja-build tool | ||
# uses: seanmiddleditch/gha-setup-ninja@master | ||
# with: | ||
# version: 1.11.1 | ||
# - name: latest ccache | ||
# run: choco install ccache | ||
# - name: ccache | ||
# uses: hendrikmuhs/[email protected] | ||
# with: | ||
# key: ${{ github.job }}-${{ matrix.mode}}-ssl( ${{ matrix.ssl}} )-arch-${{ matrix.arch}} | ||
# - name: Configure CMake | ||
# run: cmake -B ${{github.workspace}}\build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DYLT_ENABLE_SSL=${{matrix.ssl}} -DUSE_CCACHE=ON | ||
# - name: Build | ||
# run: cmake --build ${{github.workspace}}\build | ||
# - name: Test | ||
# working-directory: ${{github.workspace}}\build | ||
# run: ctest -C ${{matrix.mode}} -j 1 -V | ||
windows_msvc_2019: | ||
runs-on: windows-2019 | ||
|
||
|
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
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
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
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,22 @@ | ||
/* | ||
* Copyright (c) 2024, Alibaba Group Holding Limited; | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
#pragma once | ||
#define CINATRA_ENABLE_METRIC_JSON | ||
#include "metric/gauge.hpp" | ||
#include "metric/histogram.hpp" | ||
#include "metric/summary.hpp" | ||
#include "metric/system_metric.hpp" | ||
#include "ylt/struct_json/json_writer.h" |
Oops, something went wrong.