Skip to content

Commit

Permalink
Use fork of rustyline instead of patch
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno committed May 10, 2024
1 parent d15bd0f commit ba93393
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 2,269 deletions.
35 changes: 2 additions & 33 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
- name: Install cargo-binstall
uses: cargo-bins/[email protected]

- name: Patch sources
run: |
set -euo pipefail
cargo binstall --no-confirm --force cargo-patch
cargo patch
- name: Build
run: cargo build --release

Expand Down Expand Up @@ -72,12 +66,6 @@ jobs:
- name: Install cargo-llvm-cov
run: cargo binstall --no-confirm --force cargo-llvm-cov

- name: Patch sources
run: |
set -euo pipefail
cargo binstall --no-confirm --force cargo-patch
cargo patch
- name: Test
run: |
set -euxo pipefail
Expand Down Expand Up @@ -147,12 +135,6 @@ jobs:
- name: Install cargo-binstall
uses: cargo-bins/[email protected]

- name: Patch sources
run: |
set -euo pipefail
cargo binstall --no-confirm --force cargo-patch
cargo patch
- name: Format check
run: cargo fmt --check --all

Expand Down Expand Up @@ -199,25 +181,12 @@ jobs:
- name: Install cargo-binstall
uses: cargo-bins/[email protected]

- name: Patch sources
run: |
set -euo pipefail
cargo binstall --no-confirm --force cargo-patch
cd pr
cargo patch
cd ..
cd main
cargo patch
cd ..
- name: Performance analysis on PR
run: cargo bench --workspace --exclude brush-root -- --output-format bencher | tee benchmarks.txt
run: cargo bench --workspace -- --output-format bencher | tee benchmarks.txt
working-directory: pr

- name: Performance analysis on main
run: cargo bench --workspace --exclude brush-root -- --output-format bencher | tee benchmarks.txt
run: cargo bench --workspace -- --output-format bencher | tee benchmarks.txt
working-directory: main

- name: Compare benchmark results
Expand Down
Loading

0 comments on commit ba93393

Please sign in to comment.