Skip to content

Commit 485d72e

Browse files
committed
add more to benchmarks
1 parent 1b8eb42 commit 485d72e

File tree

7 files changed

+97
-16
lines changed

7 files changed

+97
-16
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@ jobs:
2121
- name: Install rust nightly-2021-11-22 toolchain
2222
uses: dtolnay/rust-toolchain@master
2323
with:
24-
components: rustfmt, clippy
25-
toolchain: nightly-2021-11-22
26-
27-
- name: Install rust nightly toolchain
28-
uses: dtolnay/rust-toolchain@nightly
29-
with:
30-
components: rustfmt, clippy
24+
components: rustfmt
25+
toolchain: nightly-2021-11-22, nightly-2022-01-01
3126

3227
- name: install prerequisites for c2rust
3328
run: sudo apt install build-essential bc llvm jq ripgrep libclang-dev cmake libssl-dev pkg-config python3 git clang bear -y
@@ -59,10 +54,15 @@ jobs:
5954
run: sh clippy.sh 2>log.txt
6055
continue-on-error: true
6156

57+
- name: run clippy fix
58+
working-directory: ./benchmark
59+
run: sh clippy_fix.sh
60+
continue-on-error: true
61+
6262
- name: clippy logs
6363
working-directory: ./benchmark
6464
run: cat log.txt
6565

66-
- name: get KLOC
66+
- name: compute KLOC
6767
working-directory: ./benchmark
6868
run: sh compute_KLOC.sh

benchmark/cargo_check.sh

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/clippy.sh

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/clippy_fix.sh

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/compute_KLOC.sh

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/crusts.sh

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/crusts_par.sh

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)