This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch win-mac-compile
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git

commit 6b70a04fe1aae89f096a84e24eb6df2be74357e0
Author: Wu Sheng <wu.sh...@foxmail.com>
AuthorDate: Tue Mar 5 20:44:22 2024 +0800

    Add MacOS and Windows to Compiling and UT
---
 .github/workflows/ci.yml   | 5 ++++-
 .github/workflows/test.yml | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8663ca24..10a5596a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -76,7 +76,10 @@ jobs:
         run: make check
   build:
     name: Build
-    runs-on: ubuntu-20.04
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [ ubuntu-latest, macos-14, windows-latest ]
     steps:
       - name: Check out code into the Go module directory
         uses: actions/checkout@v3
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 926d979a..0261e006 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -30,11 +30,12 @@ on:
 jobs:
   test:
     name: Test
-    runs-on: ubuntu-20.04
+    runs-on: ${{ matrix.os }}
     timeout-minutes: ${{ inputs.timeout-minutes }}
     strategy:
       matrix:
         tz: ["UTC", "Asia/Shanghai", "America/Los_Angeles"]
+        os: [ ubuntu-latest, macos-14, windows-latest ]
     steps:
       - name: Set timezone
         run: sudo timedatectl set-timezone ${{ matrix.tz }}

Reply via email to