From a7e98c6513d4dc8e2d926e0d50ac357b420e6d0b Mon Sep 17 00:00:00 2001 From: Jackarain Date: Sun, 30 Jun 2024 17:00:12 +0800 Subject: [PATCH] Add MacOS for github actions --- .github/workflows/Build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 3a4e3d1b9..ff9970c80 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -11,3 +11,8 @@ jobs: - run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10 - run: mkdir build && cd build && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF && ninja + MacOS: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF && make