Skip to content

Commit 86baa83

Browse files
author
me
committed
updates
1 parent 314caf9 commit 86baa83

File tree

7 files changed

+473
-433
lines changed

7 files changed

+473
-433
lines changed

.github/workflows/macos.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: MacOS
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
macos-clang:
13+
runs-on: macos-latest
14+
name: macOS-Clang
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: brew update && brew install ninja cmake
20+
21+
- name: Run CMake configuration and build
22+
run: |
23+
cmake tests -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
24+
-DCMAKE_C_COMPILER=clang \
25+
-DCMAKE_CXX_COMPILER=clang++
26+
cmake --build build --parallel
27+
28+
- name: Run Unit Tests
29+
run: ./build/test

.github/workflows/ubuntu.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Ubuntu
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
pull_request:
7+
branches:
8+
- '**'
9+
10+
jobs:
11+
build-test:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
include:
16+
- os: ubuntu-22.04
17+
compiler: gcc
18+
c_compiler: gcc
19+
cxx_compiler: g++
20+
name: Ubuntu-22.04-GCC
21+
packages: gcc g++
22+
- os: ubuntu-22.04
23+
compiler: clang
24+
c_compiler: clang
25+
cxx_compiler: clang++
26+
name: Ubuntu-22.04-Clang
27+
packages: clang
28+
- os: ubuntu-24.04
29+
compiler: gcc
30+
c_compiler: gcc
31+
cxx_compiler: g++
32+
name: Ubuntu-24.04-GCC
33+
packages: gcc g++
34+
- os: ubuntu-24.04
35+
compiler: clang
36+
c_compiler: clang
37+
cxx_compiler: clang++
38+
name: Ubuntu-24.04-Clang
39+
packages: clang
40+
41+
name: ${{ matrix.name }}
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
46+
- name: Install dependencies
47+
run: |
48+
sudo apt update
49+
sudo apt install -y ninja-build cmake ${{ matrix.packages }}
50+
51+
- name: Run CMake configuration and build
52+
run: |
53+
cmake tests -B build -G Ninja \
54+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
55+
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \
56+
-DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }}
57+
cmake --build build --parallel
58+
59+
- name: Run Unit Tests
60+
run: ./build/test

.github/workflows/windows.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Windows
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
windows-msvc:
13+
runs-on: windows-latest
14+
name: Windows MSVC
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install dependencies
20+
run: choco install --no-progress --yes cmake
21+
22+
- name: Run CMake configuration and build
23+
run: |
24+
cmake tests -B build
25+
cmake --build build --config RelWithDebInfo --parallel
26+
27+
- name: Run Unit Tests
28+
run: build\RelWithDebInfo\test.exe

include/msgpack_error.h

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)