Skip to content

Commit 4bef663

Browse files
committed
chore: add nolink_libwasmvm job to circleci config
1 parent 2e26743 commit 4bef663

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,25 @@ jobs:
201201
- run:
202202
name: Test package "cosmwasm" without cgo
203203
command: CGO_ENABLED=0 go test .
204+
205+
# Build types and cosmwasm with libwasmvm linking disabled
206+
nolink_libwasmvm:
207+
docker:
208+
- image: cimg/go:1.21.4
209+
steps:
210+
- checkout
211+
- run:
212+
name: Build package "types" without cgo
213+
command: go build -tags "nolink_libwasmvm" ./types
214+
- run:
215+
name: Build package "cosmwasm" without cgo
216+
command: go build -tags "nolink_libwasmvm" .
217+
- run:
218+
name: Test package "types" without cgo
219+
command: go test -tags "nolink_libwasmvm" ./types
220+
- run:
221+
name: Test package "cosmwasm" with libwasmvm linking disabled
222+
command: go test -tags "nolink_libwasmvm" .
204223

205224
tidy-go:
206225
docker:
@@ -433,6 +452,7 @@ workflows:
433452
- libwasmvm_audit
434453
- format-go
435454
- wasmvm_no_cgo
455+
- nolink_libwasmvm
436456
- tidy-go
437457
- format-scripts
438458
- lint-scripts

0 commit comments

Comments
 (0)