Test go inside sherpa-onnx (#374)
Previously, we only test the go api examples with pre-built packages. This PR tests go API examples against the latest source code of sherpa-onnx.
This commit is contained in:
6
scripts/go/_internal/build_darwin_amd64.go
Normal file
6
scripts/go/_internal/build_darwin_amd64.go
Normal file
@@ -0,0 +1,6 @@
|
||||
//go:build darwin && amd64 && !ios
|
||||
|
||||
package sherpa_onnx
|
||||
|
||||
// #cgo LDFLAGS: -L ${SRCDIR}/lib/x86_64-apple-darwin -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-native-fbank-core -lonnxruntime -Wl,-rpath,${SRCDIR}/lib/x86_64-apple-darwin
|
||||
import "C"
|
||||
Reference in New Issue
Block a user