Skip to content

Commit

Permalink
ci: wip actions
Browse files Browse the repository at this point in the history
  • Loading branch information
losman0s committed Dec 1, 2023
1 parent e283572 commit 25058a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-verifiable-program/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
- run: cargo install solana-verify
if: steps.cache-solana-verify.outputs.cache-hit != 'true'
shell: bash
- run: ./scripts/build-verifiable ${{ inputs.program_lib_name }} ${{ inputs.devnet == 'true' && 'devnet' || 'mainnet' }}
- run: ./scripts/build-verifiable.sh ${{ inputs.program_lib_name }} ${{ inputs.devnet == 'true' && 'devnet' || 'mainnet' }}
shell: bash
env:
PROGRAM: ${{ inputs.program_lib_name }}
14 changes: 5 additions & 9 deletions .github/workflows/build-verifiable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
program_lib_name:
description: "Program library name"
required: true
type: choice
options:
- marginfi
- liquidity_incentive_program
push:
branches:
- main
Expand All @@ -25,16 +29,8 @@ jobs:
build-verifiable:
name: Generate verifiable build
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
program:
- marginfi
# - liquidity_incentive_program

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build-verifiable-program/
with:
program_lib_name: ${{ matrix.program }}
program_lib_name: ${{ inputs.program_lib_name }}

0 comments on commit 25058a5

Please sign in to comment.