@@ -38,12 +38,12 @@ jobs:
3838 components : rustfmt, clippy
3939 toolchain : nightly-2024-07-25
4040 - name : Regenerate Shank IDL files
41- run : cargo b --release -p jito-shank-cli && ./target/release/jito-shank-cli
41+ run : cargo b --release -p jito-mev-tip-distribution-ncn- shank-cli && ./target/release/jito-mev-tip-distribution-ncn -shank-cli
4242 - name : Verify no changed files
4343 uses : tj-actions/verify-changed-files@v20
4444 with :
4545 fail-if-changed : true
46- fail-message : ' Unexpected changes in the shank IDL files. Please run `./target/release/jito-shank-cli` to regenerate the files.'
46+ fail-message : ' Unexpected changes in the shank IDL files. Please run `./target/release/jito-mev-tip-distribution-ncn- shank-cli` to regenerate the files.'
4747 - name : Set Node.js 22.x
4848 uses : actions/setup-node@v3
4949 with :
@@ -104,43 +104,35 @@ jobs:
104104 - name : Building programs
105105 run : cargo-build-sbf
106106 env :
107- RESTAKING_PROGRAM_ID : ${{ env.RESTAKING_PROGRAM_ID }}
108- VAULT_PROGRAM_ID : ${{ env.VAULT_PROGRAM_ID }}
109- - name : Upload restaking program
107+ MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID : ${{ env.MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID }}
108+ - name : Upload MEV Tip Distribution NCN program
110109 uses : actions/upload-artifact@v4
111110 with :
112- name : jito_restaking_program.so
113- path : target/sbf-solana-solana/release/jito_restaking_program.so
114- if-no-files-found : error
115- - name : Upload vault program
116- uses : actions/upload-artifact@v4
117- with :
118- name : jito_vault_program.so
119- path : target/sbf-solana-solana/release/jito_vault_program.so
111+ name : jito_mev_tip_distribution_ncn_program.so
112+ path : target/sbf-solana-solana/release/jito_mev_tip_distribution_ncn_program.so
120113 if-no-files-found : error
121114
122- coverage :
123- name : coverage
124- runs-on : ubuntu-latest
125- steps :
126- - uses : actions/checkout@v4
127- - uses : actions-rust-lang/setup-rust-toolchain@v1
128- with :
129- components : rustfmt, clippy
130- toolchain : nightly-2024-07-25
131- - name : Install cargo-llvm-cov
132- uses : taiki-e/install-action@cargo-llvm-cov
133- - name : Generate code coverage
134- run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
135- env :
136- RESTAKING_PROGRAM_ID : Cnp3S1G3JaaAoFpFR3FhM94DdEF1mMBqy5vjwtDaVZLi
137- VAULT_PROGRAM_ID : 94sqeuUnjJCmwZUp8nGK7Q7o8YnHSW9Y3TcPZJY2PycN
138- - name : Upload coverage to Codecov
139- 140- with :
141- token : ${{ secrets.CODECOV_TOKEN }}
142- slug : jito-foundation/restaking
143- fail_ci_if_error : true
115+ # coverage:
116+ # name: coverage
117+ # runs-on: ubuntu-latest
118+ # steps:
119+ # - uses: actions/checkout@v4
120+ # - uses: actions-rust-lang/setup-rust-toolchain@v1
121+ # with:
122+ # components: rustfmt, clippy
123+ # toolchain: nightly-2024-07-25
124+ # - name: Install cargo-llvm-cov
125+ # uses: taiki-e/install-action@cargo-llvm-cov
126+ # - name: Generate code coverage
127+ # run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
128+ # env:
129+ # MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID: Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH
130+ # - name: Upload coverage to Codecov
131+ 132+ # with:
133+ # token: ${{ secrets.CODECOV_TOKEN }}
134+ # slug: jito-foundation/jito-mev-tip-distribution-ncn
135+ # fail_ci_if_error: true
144136
145137 test_sbf :
146138 name : cargo test
@@ -151,41 +143,36 @@ jobs:
151143 - uses : actions/checkout@v4
152144 -
uses :
aarcangeli/[email protected] 153145 with :
154- path : config
155- filenames : program .env
146+ path : .cargo
147+ filenames : programs .env
156148 - uses : actions-rust-lang/setup-rust-toolchain@v1
157- - name : Download restaking program
158- uses : actions/download-artifact@v4
159- with :
160- name : jito_restaking_program.so
161- path : target/sbf-solana-solana/release/
162- - name : Download vault program
149+ - name : Download MEV Tip Distribution NCN program
163150 uses : actions/download-artifact@v4
164151 with :
165- name : jito_vault_program .so
152+ name : jito_mev_tip_distribution_ncn_program .so
166153 path : target/sbf-solana-solana/release/
167154 - uses : taiki-e/install-action@nextest
168155 - run : cargo nextest run --all-features
169156 env :
170157 SBF_OUT_DIR : ${{ github.workspace }}/target/sbf-solana-solana/release
171158
172- create_release :
173- name : Create Release
174- needs :
175- - build
176- - test_sbf
177- runs-on : ubuntu-latest
178- if : startsWith(github.ref, 'refs/tags/')
179- steps :
180- - name : Download all artifacts
181- uses : actions/download-artifact@v4
182- with :
183- merge-multiple : true
184- - run : ls -lh
185- - name : Release
186- uses : softprops/action-gh-release@v2
187- if : startsWith(github.ref, 'refs/tags/')
188- with :
189- files : |
190- *.so
191- fail_on_unmatched_files : true
159+ # create_release:
160+ # name: Create Release
161+ # needs:
162+ # - build
163+ # - test_sbf
164+ # runs-on: ubuntu-latest
165+ # if: startsWith(github.ref, 'refs/tags/')
166+ # steps:
167+ # - name: Download all artifacts
168+ # uses: actions/download-artifact@v4
169+ # with:
170+ # merge-multiple: true
171+ # - run: ls -lh
172+ # - name: Release
173+ # uses: softprops/action-gh-release@v2
174+ # if: startsWith(github.ref, 'refs/tags/')
175+ # with:
176+ # files: |
177+ # *.so
178+ # fail_on_unmatched_files: true
0 commit comments