Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,42 @@ jobs:
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]

include:
# Windows
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: windows-latest
c_compiler: gcc
cpp_compiler: g++
- os: windows-latest
c_compiler: clang
cpp_compiler: clang++

# Linux
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
- os: windows-latest
c_compiler: gcc
- os: windows-latest

# macOS
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++

exclude:
- os: ubuntu-latest
c_compiler: cl
- os: macos-latest
c_compiler: cl
- os: macos-latest
c_compiler: gcc

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

project(
async_logger
VERSION 1.0.0
VERSION 0.1.0
LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 20)
Expand All @@ -22,7 +22,7 @@ else()
FetchContent_Declare(
ring_buffer
GIT_REPOSITORY https://github.com/HuRuilizhen/ring_buffer.git
GIT_TAG v1.0.3)
GIT_TAG v0.1.0)
FetchContent_MakeAvailable(ring_buffer)
endif()

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ include(FetchContent)
FetchContent_Declare(
ring_buffer
GIT_REPOSITORY https://github.com/HuRuilizhen/ring_buffer.git
GIT_TAG v1.0.3
GIT_TAG v0.1.0
)
# 2) async_logger itself
FetchContent_Declare(
async_logger
GIT_REPOSITORY https://github.com/YourUser/async_logger.git
GIT_TAG v1.0.0
GIT_TAG v0.1.0
)

FetchContent_MakeAvailable(ring_buffer async_logger)
Expand Down Expand Up @@ -219,4 +219,4 @@ sudo cmake --build build --target uninstall_async_logger

## Contributing

Contributions are welcome! Feel free to open issues or pull requests on GitHub.
Contributions are welcome! Feel free to open issues or pull requests on GitHub.
Loading