Skip to content

Commit 6115de8

Browse files
authored
Merge pull request #125 from AhaLabs/cosmwasm
feat: add cosmwasm optimization workflows
2 parents 264f4ca + 9df0a29 commit 6115de8

4 files changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Optimize CosmWasm Project (Apple ARM Chips)
3+
command:
4+
docker run --rm -v "$(pwd)":/code
5+
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target
6+
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry
7+
cosmwasm/rust-optimizer-arm64:0.12.8
8+
tags:
9+
- cosmwasm
10+
description: >
11+
Optimize a CosmWasm smart contract project. If a workspace with multiple
12+
contracts, use workspace-specific version. Requires Docker to be installed
13+
and running. Uses the experimental arm64 variant for use with Apple's chips
14+
(M1 & M2 Macs, etc).
15+
source_url: https://github.com/CosmWasm/rust-optimizer
16+
author: chadoh
17+
author_url: https://chadoh.com
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Optimize CosmWasm Workspace Project (Apple ARM Chips)
3+
command: >
4+
docker run --rm -v "$(pwd)":/code
5+
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target
6+
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry
7+
cosmwasm/workspace-optimizer-arm64:0.12.8
8+
tags:
9+
- cosmwasm
10+
description: >
11+
Optimize a CosmWasm project that is organized as a workspace with multiple
12+
member contracts. Requires Docker to be installed and running. Uses the
13+
experimental arm64 variant for use with Apple's chips (M1 & M2 Macs, etc).
14+
source_url: https://github.com/CosmWasm/rust-optimizer
15+
author: chadoh
16+
author_url: https://chadoh.com
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Optimize CosmWasm Workspace Project
3+
command: >
4+
docker run --rm -v "$(pwd)":/code
5+
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target
6+
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry
7+
cosmwasm/workspace-optimizer:0.12.10
8+
tags:
9+
- cosmwasm
10+
description: >
11+
Optimize a CosmWasm project that is organized as a workspace with multiple
12+
member contracts. Requires Docker to be installed and running.
13+
source_url: https://github.com/CosmWasm/rust-optimizer
14+
author: chadoh
15+
author_url: https://chadoh.com
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Optimize CosmWasm Project
3+
command:
4+
docker run --rm -v "$(pwd)":/code
5+
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target
6+
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry
7+
cosmwasm/rust-optimizer:0.12.10
8+
tags:
9+
- cosmwasm
10+
description: >
11+
Optimize a CosmWasm smart contract project. If a workspace with multiple
12+
contracts, use workspace-specific version. Requires Docker to be installed
13+
and running.
14+
source_url: https://github.com/CosmWasm/rust-optimizer
15+
author: chadoh
16+
author_url: https://chadoh.com

0 commit comments

Comments
 (0)