Skip to content

Commit

Permalink
Fix libznn for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-znn committed Jul 29, 2023
1 parent a892f3c commit f0e1881
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/znn_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,23 @@ jobs:
dest: build
prefix: libznn
pkg: cmd/libznn
targets: darwin/arm64,darwin/amd64,windows/amd64,linux/amd64,linux/arm64
targets: darwin/arm64,darwin/amd64,linux/amd64,linux/arm64
v: true
x: true
tags: libznn
ldflags: -s -w
buildvcs: false
buildmode: c-shared
trimpath: true
- name: Build libznn (windows/amd64)
uses: crazy-max/ghaction-xgo@588a1a9bc6aa44305ce5d2c669c11687316f87bf
with:
xgo_version: latest
go_version: 1.19.10
dest: build
prefix: libznn
pkg: cmd/libznn
targets: windows/amd64
v: true
x: true
tags: libznn
Expand Down
1 change: 1 addition & 0 deletions rpc/api/embedded/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/zenon-network/go-zenon/vm/constants"
"github.com/zenon-network/go-zenon/vm/embedded/implementation"
"reflect"
"sort"

"github.com/zenon-network/go-zenon/chain"
"github.com/zenon-network/go-zenon/common"
Expand Down

0 comments on commit f0e1881

Please sign in to comment.