From 125a18fe44c5895e7ce478c956e4063784f2c509 Mon Sep 17 00:00:00 2001 From: ZhangJian He Date: Wed, 28 Aug 2024 20:49:04 +0800 Subject: [PATCH] ci(bindings/go): add windows to matrix Signed-off-by: ZhangJian He --- .github/scripts/test_go_binding/matrix.yaml | 8 +++++++- .github/workflows/ci_bindings_go.yml | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/scripts/test_go_binding/matrix.yaml b/.github/scripts/test_go_binding/matrix.yaml index 27ba73a8501..ee6fe9d4d48 100644 --- a/.github/scripts/test_go_binding/matrix.yaml +++ b/.github/scripts/test_go_binding/matrix.yaml @@ -15,12 +15,18 @@ # specific language governing permissions and limitations # under the License. -os: ["ubuntu-latest"] +os: + - ubuntu-latest + - windows-latest build: - target: "x86_64-unknown-linux-gnu" cc: "gcc" goos: "linux" goarch: "amd64" + - target: "x86_64-pc-windows-msvc" + cc: "cl.exe" + goos: "windows" + goarch: "amd64" service: - "memory" diff --git a/.github/workflows/ci_bindings_go.yml b/.github/workflows/ci_bindings_go.yml index bde9e0cb2d8..49b5fc45a3b 100644 --- a/.github/workflows/ci_bindings_go.yml +++ b/.github/workflows/ci_bindings_go.yml @@ -30,6 +30,7 @@ on: - "core/**" - "bindings/c/**" - "bindings/go/**" + - ".github/scripts/test_go_binding/matrix.yaml" - ".github/workflows/ci_bindings_go.yml" workflow_dispatch: