Skip to content

Commit fbf54df

Browse files
committed
check each opt-level
1 parent fc218d2 commit fbf54df

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,31 @@ jobs:
117117
with:
118118
fetch-depth: 2
119119

120-
- name: install typos-cli
120+
- name: install typos-clik 0
121121
run: time RUSTFLAGS="-Copt-level=0" cargo install [email protected] --force
122122

123-
- name: run typos-cli
123+
- name: run typos-cli 0
124124
run: time typos compiler library src/bootstrap src/librustdoc
125125

126+
- name: install typos-clik 1
127+
run: time RUSTFLAGS="-Copt-level=1" cargo install [email protected] --force
128+
129+
- name: run typos-cli 1
130+
run: time typos compiler library src/bootstrap src/librustdoc
131+
132+
- name: install typos-clik 2
133+
run: time RUSTFLAGS="-Copt-level=2" cargo install [email protected] --force
134+
135+
- name: run typos-cli 2
136+
run: time typos compiler library src/bootstrap src/librustdoc
137+
138+
- name: install typos-clik 3 (default)
139+
run: time cargo install [email protected] --force
140+
141+
- name: run typos-cli 3
142+
run: time typos compiler library src/bootstrap src/librustdoc
143+
144+
126145
# Free up disk space on Linux by removing preinstalled components that
127146
# we do not need. We do this to enable some of the less resource
128147
# intensive jobs to run on free runners, which however also have

0 commit comments

Comments
 (0)