Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
4564d9a1
Unverified
Commit
4564d9a1
authored
Oct 31, 2021
by
PhilipDeegan
Committed by
GitHub
Oct 31, 2021
Browse files
github actions for mac/linux/windows (#1056)
parent
2f899756
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
1 deletion
+41
-1
.github/workflows/build.yml
.github/workflows/build.yml
+40
-0
include/yaml-cpp/node/detail/node.h
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