Skip to content

Commit

Permalink
More elegant way to build (#270)
Browse files Browse the repository at this point in the history
* Fix #259: more elegant way to build

* Fix #259: more elegant way to build

* Fix #259: more elegant way to build

* Fix #259: more elegant way to build
  • Loading branch information
jacob-chia authored Oct 24, 2023
1 parent af591f6 commit cb531b7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,16 +153,12 @@ jobs:
- name: Build binaries
env:
SVM_TARGET_PLATFORM: ${{ matrix.job.svm_target_platform }}
run: |
cargo build --release --bins --target ${{ matrix.job.target }} \
--features "cmp dataflow evm print_txn_corpus full_trace" --no-default-features
run: cargo build --release --bins --target ${{ matrix.job.target }} --features "cmp dataflow evm print_txn_corpus full_trace" --no-default-features

- name: Build binaries with flashloan
env:
SVM_TARGET_PLATFORM: ${{ matrix.job.svm_target_platform }}
run: |
cargo build --release --bins --target ${{ matrix.job.target }} --target-dir "target_f" \
--features "cmp dataflow evm print_txn_corpus full_trace flashloan_v2 force_cache" --no-default-features
run: cargo build --release --bins --target ${{ matrix.job.target }} --target-dir "target_f" --features "cmp dataflow evm print_txn_corpus full_trace flashloan_v2 force_cache" --no-default-features

- name: Archive binaries
id: artifacts
Expand Down

0 comments on commit cb531b7

Please sign in to comment.