Skip to content

Commit 89978de

Browse files
committed
add gh workflows
1 parent 0f10d8f commit 89978de

3 files changed

Lines changed: 39 additions & 1 deletion

File tree

.github/workflows/deploy-programs.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- launchpad_v6
1414
- price_based_performance_package_v6
1515
- launchpad_v7
16+
- launchpad_v8
1617
- bid_wall
1718
- liquidation
1819
- mint_governor
@@ -189,6 +190,25 @@ jobs:
189190
use-squads: true
190191
features: "production"
191192
priority-fee: ${{ inputs.priority-fee }}
193+
secrets:
194+
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
195+
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
196+
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
197+
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}
198+
199+
launchpad-v8:
200+
if: inputs.program == 'launchpad_v8'
201+
uses: ./.github/workflows/reusable-build.yaml
202+
with:
203+
program: "launchpad_v8"
204+
override-program-id: "moonDJUoHteKkGATejA5bdJVwJ6V6Dg74gyqyJTx73n"
205+
network: "mainnet"
206+
deploy: true
207+
upload_idl: true
208+
verify: true
209+
use-squads: true
210+
features: "production"
211+
priority-fee: ${{ inputs.priority-fee }}
192212
secrets:
193213
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
194214
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}

.github/workflows/generate-verifiable-builds.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,21 @@ jobs:
162162
uses: EndBug/add-and-commit@v9.1.4
163163
with:
164164
default_author: github_actions
165-
message: 'Update performance_package_v2 verifiable build'
165+
message: 'Update performance_package_v2 verifiable build'
166+
generate-verifiable-launchpad-v8:
167+
runs-on: ubuntu-22.04
168+
steps:
169+
- uses: actions/checkout@v4
170+
- uses: metadaoproject/anchor-verifiable-build@v0.4
171+
with:
172+
program: launchpad_v8
173+
anchor-version: '0.29.0'
174+
solana-cli-version: '1.17.31'
175+
features: 'production'
176+
- run: 'git pull --rebase'
177+
- run: cp target/deploy/launchpad_v8.so ./verifiable-builds
178+
- name: Commit verifiable build back to mainline
179+
uses: EndBug/add-and-commit@v9.1.4
180+
with:
181+
default_author: github_actions
182+
message: 'Update launchpad_v8 verifiable build'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Programs for unruggable capital formation and market-driven governance.
88

99
| program | tag | program ID |
1010
| ----------------- | ---- | -------------------------------------------- |
11+
| launchpad | v0.8.0 | moonDJUoHteKkGATejA5bdJVwJ6V6Dg74gyqyJTx73n |
1112
| launchpad | v0.7.0 | moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM |
1213
| bid_wall | v0.7.0 | WALL8ucBuUyL46QYxwYJjidaFYhdvxUFrgvBxPshERx |
1314
| mint_governor | v0.7.0 | gvnr27cVeyW3AVf3acL7VCJ5WjGAphytnsgcK1feHyH |

0 commit comments

Comments
 (0)