Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa authored Jul 13, 2021
1 parent d185007 commit 90a414d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ jobs:

- name: Build
env:
PKG_CONFIG_PATH: ./lib
DYLD_LIBRARY_PATH: ./lib
CGO_LDFLAGS_ALLOW: '-w'
run: go build -v ./...
run: go build -v --ldflags'-extldflags "-L./lib -lWeWorkFinanceSdk_C"' ./...

- name: Test
env:
PKG_CONFIG_PATH: ./lib
CGO_LDFLAGS_ALLOW: '-w'
run: go test -v ./...
run: go test -v --ldflags'-extldflags "-L./lib -lWeWorkFinanceSdk_C"' ./...

0 comments on commit 90a414d

Please sign in to comment.