From 870d5e536ffd9cf62a39eaee3a0911f55dd7e0e8 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 2 Nov 2024 14:20:15 +0200 Subject: [PATCH] renamed ci files --- .../workflows/{gcc_clang.yml => linux.yml} | 2 +- .github/workflows/macos.yml | 25 +++++++++++++++++++ .github/workflows/{msvc.yml => windows.yml} | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) rename .github/workflows/{gcc_clang.yml => linux.yml} (99%) create mode 100644 .github/workflows/macos.yml rename .github/workflows/{msvc.yml => windows.yml} (99%) diff --git a/.github/workflows/gcc_clang.yml b/.github/workflows/linux.yml similarity index 99% rename from .github/workflows/gcc_clang.yml rename to .github/workflows/linux.yml index 697451e55..2086a9e56 100644 --- a/.github/workflows/gcc_clang.yml +++ b/.github/workflows/linux.yml @@ -1,4 +1,4 @@ -name: gcc_clang +name: linux on: [push, pull_request] diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 000000000..8a5de9ec7 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,25 @@ +name: macos + +on: [push, pull_request] + +jobs: + build_osx: + runs-on: macOS-latest + name: "macOS Clang (C++11, Release)" + steps: + - uses: actions/checkout@v4 + - name: Build + run: | + mkdir -p build && cd build + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_STANDARD=11 \ + -DSPDLOG_BUILD_EXAMPLE=ON \ + -DSPDLOG_BUILD_EXAMPLE_HO=ON \ + -DSPDLOG_BUILD_WARNINGS=ON \ + -DSPDLOG_BUILD_BENCH=OFF \ + -DSPDLOG_BUILD_TESTS=ON \ + -DSPDLOG_BUILD_TESTS_HO=OFF \ + -DSPDLOG_SANITIZE_ADDRESS=OFF + make -j 4 + ctest -j 4 --output-on-failure diff --git a/.github/workflows/msvc.yml b/.github/workflows/windows.yml similarity index 99% rename from .github/workflows/msvc.yml rename to .github/workflows/windows.yml index 4c301a119..161ef2ba5 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/windows.yml @@ -1,4 +1,4 @@ -name: msvc +name: windows on: [push, pull_request]