@@ -11,22 +11,22 @@ runs:
11
11
if : startsWith(matrix.os, 'windows')
12
12
working-directory : ${{ env.work_dir }}
13
13
shell : pwsh
14
- run : python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=rustfmt ,cargo --dist-compression-formats='xz'
14
+ run : python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy ,cargo,rustfmt --dist-compression-formats='xz'
15
15
16
16
- name : Build with x.py - Tools
17
17
if : startsWith(matrix.os, 'windows')
18
18
# Note excluding src/doc breaks build of 1.55
19
19
working-directory : ${{ env.work_dir }}
20
20
shell : pwsh
21
21
# We only want to do cargo for windows builds
22
- run : python3 x.py build --exclude src/doc --stage 2 src/tools/rustfmt src/tools/cargo
22
+ run : python3 x.py build --exclude src/doc --stage 2 src/tools/clippy src/tools/ rustfmt src/tools/cargo
23
23
24
24
- name : Dist with x.py - Tools
25
25
if : startsWith(matrix.os, 'windows')
26
26
# We include cargo to get around https://github.com/esp-rs/rust-build/issues/17
27
27
working-directory : ${{ env.work_dir }}
28
28
shell : pwsh
29
- run : python3 x.py dist --stage 2 rustfmt cargo
29
+ run : python3 x.py dist --stage 2 clippy rustfmt cargo
30
30
31
31
32
32
# Run Linux builds using bash
@@ -35,21 +35,21 @@ runs:
35
35
if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
36
36
working-directory : ${{ env.work_dir }}
37
37
shell : bash
38
- run : python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=rustfmt ,cargo --dist-compression-formats='xz'
38
+ run : python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy ,cargo,rustfmt --dist-compression-formats='xz'
39
39
40
40
- name : Build with x.py - Tools
41
41
if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
42
42
# Note excluding src/doc breaks build of 1.55
43
43
working-directory : ${{ env.work_dir }}
44
44
shell : bash
45
- run : python3 x.py build --exclude src/doc --stage 2 src/tools/rustfmt
45
+ run : python3 x.py build --exclude src/doc --stage 2 src/tools/clippy src/tools/ rustfmt
46
46
47
47
- name : Dist with x.py - Tools
48
48
if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
49
49
# We include cargo to get around https://github.com/esp-rs/rust-build/issues/17
50
50
working-directory : ${{ env.work_dir }}
51
51
shell : bash
52
- run : python3 x.py dist --stage 2 rustfmt cargo
52
+ run : python3 x.py dist --stage 2 clippy rustfmt cargo
53
53
54
54
55
55
# Save the result
67
67
with :
68
68
name : rustfmt-${{ env.build_suffix }}.tar.xz
69
69
path : ${{ env.dist_dir }}/rustfmt-${{ env.build_suffix }}.tar.xz
70
+
71
+ - name : Save Artifact - Clippy
72
+ uses : actions/upload-artifact@v2
73
+ with :
74
+ name : clippy-${{ env.build_suffix }}.tar.xz
75
+ path : ${{ env.dist_dir }}/clippy-${{ env.build_suffix }}.tar.xz
0 commit comments