Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new vote account for timely vote credits #101

Merged
merged 19 commits into from
Oct 10, 2023
Prev Previous commit
Next Next commit
unblocking myself commenting out verified builds
  • Loading branch information
buffalu committed Oct 9, 2023
commit 5f6b25ac9424cce1ed4b8be608f6e1fdfa09ee69
67 changes: 28 additions & 39 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -60,42 +60,31 @@ jobs:
- name: Check for diff
run: git diff --exit-code

verified-build:
name: Build Verifiable Artifact
runs-on: big-runner-1
steps:
- name: Checkout
uses: actions/checkout@v3

# --force because the cargo cache has it saved
- name: Install Solana Verify
run: |
cargo install solana-verify --force
solana-verify --version

- name: Verifiable Build
working-directory: ./mev-programs
run: |
solana-verify build --library-name jito_tip_distribution
solana-verify build --library-name jito_tip_payment

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: build
path: |
mev-programs/target/deploy/jito_tip_distribution.so
mev-programs/target/deploy/jito_tip_payment.so
mev-programs/target/idl/jito_tip_distribution.json
mev-programs/target/idl/jito_tip_payment.json

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
working-directory: ./mev-programs
files: |
mev-programs/target/deploy/jito_tip_distribution.so
mev-programs/target/deploy/jito_tip_payment.so
mev-programs/target/idl/jito_tip_distribution.json
mev-programs/target/idl/jito_tip_payment.json
# verified-build:
# name: Build Verifiable Artifact
# runs-on: big-runner-1
# steps:
# - name: Checkout
# uses: actions/checkout@v3
#
# # --force because the cargo cache has it saved
# - name: Install Solana Verify
# run: |
# cargo install solana-verify --force
# solana-verify --version
#
# - name: Verifiable Build
# working-directory: ./mev-programs
# run: |
# solana-verify build --library-name jito_tip_distribution
# solana-verify build --library-name jito_tip_payment
#
# - name: Upload Artifact
# uses: actions/upload-artifact@v3
# with:
# name: build
# path: |
# mev-programs/target/deploy/jito_tip_distribution.so
# mev-programs/target/deploy/jito_tip_payment.so
# mev-programs/target/idl/jito_tip_distribution.json
# mev-programs/target/idl/jito_tip_payment.json
22 changes: 11 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ jobs:
working-directory: ./mev-programs
run: yarn

# Build IDLs
# Build IDLs + programs
- name: Build jito_tip_distribution
working-directory: ./mev-programs
run: anchor build --idl idl --program-name jito_tip_distribution
@@ -47,16 +47,16 @@ jobs:

# Verified build
# --force because the cargo cache has it saved
- name: Install Solana Verify
run: |
cargo install solana-verify --force
solana-verify --version

- name: Verifiable Build
working-directory: ./mev-programs
run: |
solana-verify build --library-name jito_tip_distribution
solana-verify build --library-name jito_tip_payment
# - name: Install Solana Verify
# run: |
# cargo install solana-verify --force
# solana-verify --version
#
# - name: Verifiable Build
# working-directory: ./mev-programs
# run: |
# solana-verify build --library-name jito_tip_distribution
# solana-verify build --library-name jito_tip_payment

# Make sure no uncommitted changes
- name: Check for diff
Loading