Skip to content

Commit fca717a

Browse files
authored
ci: use --nodocs when installing deps in VM (#10557)
1 parent 732acbe commit fca717a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/CICD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CICD
22

33
# spell-checker:ignore (abbrev/names) CACHEDIR CICD CodeCOV MacOS MinGW MSVC musl taiki
4-
# spell-checker:ignore (env/flags) Awarnings Ccodegen Coverflow Cpanic Dwarnings RUSTDOCFLAGS RUSTFLAGS Zpanic CARGOFLAGS CLEVEL
4+
# spell-checker:ignore (env/flags) Awarnings Ccodegen Coverflow Cpanic Dwarnings RUSTDOCFLAGS RUSTFLAGS Zpanic CARGOFLAGS CLEVEL nodocs
55
# spell-checker:ignore (jargon) SHAs deps dequote softprops subshell toolchain fuzzers dedupe devel profdata
66
# spell-checker:ignore (people) Peltoche rivy dtolnay Anson dawidd
77
# spell-checker:ignore (shell/tools) binutils choco clippy dmake esac fakeroot fdesc fdescfs gmake grcov halium lcov libclang libfuse libssl limactl mkdir nextest nocross pacman popd printf pushd redoxer rsync rustc rustfmt rustup shopt sccache utmpdump xargs zstd
@@ -1273,7 +1273,7 @@ jobs:
12731273
- run: rsync -v -a -e ssh . lima-default:~/work/
12741274
- name: Setup Rust and other build deps in VM
12751275
run: |
1276-
lima sudo dnf install gcc g++ git rustup libselinux-devel clang-devel attr -y
1276+
lima sudo dnf install --nodocs gcc g++ git rustup libselinux-devel clang-devel attr -y
12771277
lima rustup-init -y --default-toolchain stable --profile minimal -c clippy
12781278
- name: Verify SELinux Status
12791279
run: |

.github/workflows/GnuTests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: GnuTests
66
# spell-checker:ignore (options) Ccodegen Coverflow Cpanic Zpanic
77
# spell-checker:ignore (people) Dawid Dziurla * dawidd dtolnay
88
# spell-checker:ignore (vars) FILESET SUBDIRS XPASS
9-
# spell-checker:ignore userns
9+
# spell-checker:ignore userns nodocs
1010

1111
# * note: to run a single test => `REPO/util/run-gnu-test.sh PATH/TO/TEST/SCRIPT`
1212

@@ -226,8 +226,7 @@ jobs:
226226
227227
- name: Install dependencies in VM
228228
run: |
229-
lima sudo dnf -y update
230-
lima sudo dnf -y install autoconf bison gperf gcc gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel automake patch quilt
229+
lima sudo dnf -y install --nodocs autoconf bison gperf gcc gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel automake patch quilt
231230
lima rustup-init -y --profile=minimal --default-toolchain stable
232231
- name: Copy the sources to VM
233232
run: |

0 commit comments

Comments
 (0)