Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
4564d9a1
Unverified
Commit
4564d9a1
authored
Oct 31, 2021
by
PhilipDeegan
Committed by
GitHub
Oct 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
github actions for mac/linux/windows (#1056)
parent
2f899756
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
1 deletions
+41
-1
.github/workflows/build.yml
+40
-0
include/yaml-cpp/node/detail/node.h
+1
-1
No files found.
.github/workflows/build.yml
0 → 100644
View file @
4564d9a1
name
:
Github PR
on
:
push
:
branches
:
[
master
]
pull_request
:
branches
:
[
master
]
workflow_dispatch
:
jobs
:
build
:
strategy
:
matrix
:
os
:
[
ubuntu-latest
,
windows-latest
,
macos-latest
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Build static
shell
:
bash
run
:
|
mkdir -p build && cd build
cmake ..
cmake --build . --parallel 4
-
name
:
Test static
shell
:
bash
run
:
cd build && ctest --output-on-failure
-
name
:
Build shared
shell
:
bash
run
:
|
rm -rf build && mkdir -p build && cd build
cmake .. -DYAML_BUILD_SHARED_LIBS=ON
cmake --build . --parallel 4
# tests are failing for unknown reasons
-
if
:
matrix.os == 'ubuntu-latest'
name
:
Test shared
shell
:
bash
run
:
cd build && ctest --output-on-failure
# test all ASAP
include/yaml-cpp/node/detail/node.h
View file @
4564d9a1
...
@@ -169,7 +169,7 @@ class node {
...
@@ -169,7 +169,7 @@ class node {
using
nodes
=
std
::
set
<
node
*
,
less
>
;
using
nodes
=
std
::
set
<
node
*
,
less
>
;
nodes
m_dependencies
;
nodes
m_dependencies
;
size_t
m_index
;
size_t
m_index
;
static
std
::
atomic
<
size_t
>
m_amount
;
static
YAML_CPP_API
std
::
atomic
<
size_t
>
m_amount
;
};
};
}
// namespace detail
}
// namespace detail
}
// namespace YAML
}
// namespace YAML
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment