Skip to content

Commit

Permalink
ci(bindings/go): add windows to matrix
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <[email protected]>
  • Loading branch information
shoothzj committed Aug 28, 2024
1 parent 41fe460 commit 125a18f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/scripts/test_go_binding/matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

1 change: 1 addition & 0 deletions .github/workflows/ci_bindings_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 125a18f

Please sign in to comment.