diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 98f8d3b..c189546 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 30ffd69..f0514e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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() diff --git a/README.md b/README.md index 4f7df4d..4113ea3 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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. \ No newline at end of file +Contributions are welcome! Feel free to open issues or pull requests on GitHub.