Skip to content

Commit c98de7b

Browse files
committed
cross-platform-build ci/cd for readme badge
1 parent 12ba743 commit c98de7b

2 files changed

Lines changed: 27 additions & 3 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- "Linux Multi-Architecture Build"
7+
- "macOS aarch64 Build"
8+
- ".github/workflows/windows.yml"
9+
types: [completed]
10+
branches: [main]
11+
12+
env:
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
14+
15+
jobs:
16+
gate:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check result
20+
run: |
21+
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
22+
echo "${{ github.event.workflow_run.name }} did not succeed (conclusion: ${{ github.event.workflow_run.conclusion }})"
23+
exit 1
24+
fi

src/vmaware.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5731,9 +5731,9 @@ struct VM {
57315731
seed ^= seed >> 33;
57325732

57335733
std::seed_seq seq{
5734-
static_cast<std::uint32_t>(seed),
5735-
static_cast<std::uint32_t>(seed >> 32),
5736-
static_cast<std::uint32_t>(seed ^ 0x9e3779b9u),
5734+
static_cast<u32>(seed),
5735+
static_cast<u32>(seed >> 32),
5736+
static_cast<u32>(seed ^ 0x9e3779b9u),
57375737
ct_seed
57385738
};
57395739

0 commit comments

Comments
 (0)