Skip to content

Commit ec7c52b

Browse files
author
pfeatherstone
committed
badges 5
1 parent a12c41a commit ec7c52b

File tree

7 files changed

+152
-112
lines changed

7 files changed

+152
-112
lines changed

.github/workflows/ci.yml

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

.github/workflows/macos_clang.yml

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

.github/workflows/ubuntu22_gcc.yml

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

.github/workflows/ubuntu24_gcc.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Ubuntu 24 GCC
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
ubuntu-22-gcc:
13+
runs-on: ubuntu-24.04
14+
name: Ubuntu-24.04-GCC
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install dependencies
20+
run: sudo apt update && sudo apt install -y ninja-build gcc g++ cmake
21+
22+
- name: Run CMake configuration and build
23+
run: |
24+
cmake examples -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
25+
cmake --build build --parallel
26+
27+
- name: Run Unit Tests
28+
run: ./build/tests

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
![Ubuntu-22.04-GCC](https://img.shields.io/github/actions/workflow/status/pfeatherstone/https/ci.yml?branch=main&job=ubuntu-22-gcc&label=Ubuntu-22.04-GCC)
2-
![Ubuntu-22.04-Clang](https://img.shields.io/github/actions/workflow/status/pfeatherstone/https/ci.yml?branch=main&job=ubuntu-22-clang&label=Ubuntu-22.04-Clang)
3-
![Ubuntu-24.04-GCC](https://img.shields.io/github/actions/workflow/status/pfeatherstone/https/ci.yml?branch=main&job=ubuntu-24-gcc&label=Ubuntu-24.04-GCC)
4-
![Ubuntu-24.04-Clang](https://img.shields.io/github/actions/workflow/status/pfeatherstone/https/ci.yml?branch=main&job=ubuntu-24-clang&label=Ubuntu-24.04-Clang)
5-
![macOS-Clang](https://img.shields.io/github/actions/workflow/status/pfeatherstone/https/ci.yml?branch=main&job=macos-clang&label=macOS-Clang)
1+
![Ubuntu 22 GCC](https://github.com/pfeatherstone/https/actions/workflows/ubuntu22_gcc.yml/badge.svg)
2+
![Ubuntu 22 Clang](https://github.com/pfeatherstone/https/actions/workflows/ubuntu22_clang.yml/badge.svg)
3+
![Ubuntu 24 GCC](https://github.com/pfeatherstone/https/actions/workflows/ubuntu24_gcc.yml/badge.svg)
4+
![Ubuntu 24 Clang](https://github.com/pfeatherstone/https/actions/workflows/ubuntu24_clang.yml/badge.svg)
5+
![macOS Clang](https://github.com/pfeatherstone/https/actions/workflows/macos_clang.yml/badge.svg)
66

77
# https
88
HTTPS and WSS library.

0 commit comments

Comments
 (0)