diff --git a/.github/workflows/main_darwin.yml b/.github/workflows/main_darwin.yml index fe6434ef..9c91cf1a 100644 --- a/.github/workflows/main_darwin.yml +++ b/.github/workflows/main_darwin.yml @@ -9,7 +9,7 @@ jobs: build-and-test: strategy: matrix: - os: [ macos-12, macos-13 ] + os: [ macos-12, macos-13, macos-14 ] runs-on: ${{ matrix.os }} steps: - name: Git checkout diff --git a/pkg/runtime/init.go b/pkg/runtime/init.go index e36aff74..3bc68ed0 100644 --- a/pkg/runtime/init.go +++ b/pkg/runtime/init.go @@ -48,7 +48,7 @@ func initRuntime(maxProc int) { // ping { - args := &gpyrpc.Ping_Args{Value: "ping: kcl-go rest-server"} + args := &gpyrpc.Ping_Args{Value: "echo"} resp, err := client.Ping(args) if err != nil || resp.Value != args.Value { fmt.Println("Init kcl runtime failed, path: ", MustGetKclvmPath()) diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index 249eb2e5..dc95a28b 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -47,6 +47,7 @@ func (p *Runtime) Start() { p.mu.Lock() defer p.mu.Unlock() + // Try to get the runtime // if !env.GetDisableInstallArtifact() { // // Get the install lib path. // path := path.LibPath()