We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56477c commit edc23f5Copy full SHA for edc23f5
.github/workflows/ci-contracts.yml
@@ -77,6 +77,15 @@ jobs:
77
command: clippy
78
args: --lib --manifest-path contracts/Cargo.toml --workspace --all-targets -- -D warnings
79
80
+ - name: Build release contracts
81
+ uses: actions-rs/cargo@v1
82
+ env:
83
+ RUSTFLAGS: '-C link-arg=-s'
84
+ with:
85
+ command: build
86
+ args: --release --manifest-path contracts/Cargo.toml --workspace --lib --target wasm32-unknown-unknown
87
+
88
+ # cosmwasm-check against debug build will not work due to the memory overhead
89
- name: Check chain compatibility
- run: cosmwasm-check contracts/target/wasm32-unknown-unknown/debug/*.wasm
-
90
+ run: cosmwasm-check contracts/target/wasm32-unknown-unknown/release/*.wasm
91
0 commit comments