Skip to content

Commit caf6e30

Browse files
committed
CI: stop spotlight on macOS
1 parent a877f6b commit caf6e30

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.github/workflows/CICD.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CICD
44
# spell-checker:ignore (env/flags) Awarnings Ccodegen Coverflow Cpanic Dwarnings RUSTDOCFLAGS RUSTFLAGS Zpanic CARGOFLAGS CLEVEL
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
7-
# 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
7+
# spell-checker:ignore (shell/tools) binutils choco clippy dmake esac fakeroot fdesc fdescfs gmake grcov halium lcov libclang libfuse libssl limactl mdutil mkdir nextest nocross pacman popd printf pushd redoxer rsync rustc rustfmt rustup shopt sccache utmpdump xargs zstd
88
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nofeatures nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils libsystemd codspeed
99

1010
env:
@@ -55,6 +55,9 @@ jobs:
5555
- { os: macos-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
5656
- { os: windows-latest , features: feat_os_windows }
5757
steps:
58+
- name: Disable spotlight
59+
if: runner.os == 'macOS'
60+
run : sudo mdutil -a -i off &
5861
- uses: actions/checkout@v6
5962
with:
6063
persist-credentials: false
@@ -413,6 +416,9 @@ jobs:
413416
- { os: macos-latest , features: feat_os_macos }
414417
- { os: windows-latest , features: feat_os_windows }
415418
steps:
419+
- name: Disable spotlight
420+
if: runner.os == 'macOS'
421+
run : sudo mdutil -a -i off &
416422
- uses: actions/checkout@v6
417423
with:
418424
persist-credentials: false
@@ -452,6 +458,9 @@ jobs:
452458
- { os: macos-latest , features: feat_os_macos }
453459
- { os: windows-latest , features: feat_os_windows }
454460
steps:
461+
- name: Disable spotlight
462+
if: runner.os == 'macOS'
463+
run : sudo mdutil -a -i off &
455464
- uses: actions/checkout@v6
456465
with:
457466
persist-credentials: false
@@ -636,6 +645,9 @@ jobs:
636645
- { os: windows-latest , target: x86_64-pc-windows-msvc , features: feat_os_windows }
637646
- { os: windows-latest , target: aarch64-pc-windows-msvc , features: feat_os_windows, use-cross: use-cross , skip-tests: true }
638647
steps:
648+
- name: Disable spotlight
649+
if: runner.os == 'macOS'
650+
run : sudo mdutil -a -i off &
639651
- uses: actions/checkout@v6
640652
with:
641653
persist-credentials: false
@@ -1228,6 +1240,9 @@ jobs:
12281240
- { os: macos-latest , features: feat_os_macos }
12291241
- { os: windows-latest , features: feat_os_windows }
12301242
steps:
1243+
- name: Disable spotlight
1244+
if: runner.os == 'macOS'
1245+
run : sudo mdutil -a -i off &
12311246
- uses: actions/checkout@v6
12321247
with:
12331248
persist-credentials: false
@@ -1255,6 +1270,9 @@ jobs:
12551270
- { os: macos-latest , features: feat_os_macos }
12561271
# - { os: windows-latest , features: feat_os_windows } https://github.com/uutils/coreutils/issues/7044
12571272
steps:
1273+
- name: Disable spotlight
1274+
if: runner.os == 'macOS'
1275+
run : sudo mdutil -a -i off &
12581276
- uses: actions/checkout@v6
12591277
with:
12601278
persist-credentials: false
@@ -1318,6 +1336,9 @@ jobs:
13181336
- { os: windows-latest , features: feat_os_windows }
13191337

13201338
steps:
1339+
- name: Disable spotlight
1340+
if: runner.os == 'macOS'
1341+
run : sudo mdutil -a -i off &
13211342
- uses: actions/checkout@v6
13221343
with:
13231344
persist-credentials: false

.github/workflows/code-quality.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Code Quality
22

33
# spell-checker:ignore (people) reactivecircus Swatinem dtolnay juliangruber pell taplo
4-
# spell-checker:ignore (misc) TERMUX noaudio pkill swiftshader esac sccache pcoreutils shopt subshell dequote libsystemd
4+
# spell-checker:ignore (misc) TERMUX mdutil noaudio pkill swiftshader esac sccache pcoreutils shopt subshell dequote libsystemd
55

66
on:
77
pull_request:
@@ -82,6 +82,9 @@ jobs:
8282
- { os: macos-latest , features: feat_os_macos }
8383
- { os: windows-latest , features: feat_os_windows }
8484
steps:
85+
- name: Disable spotlight
86+
if: runner.os == 'macOS'
87+
run : sudo mdutil -a -i off &
8588
- uses: actions/checkout@v6
8689
with:
8790
persist-credentials: false

.github/workflows/l10n.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- { os: macos-latest , features: "feat_os_macos" }
3737
- { os: windows-latest , features: "feat_os_windows" }
3838
steps:
39+
- name: Disable spotlight
40+
if: runner.os == 'macOS'
41+
run : sudo mdutil -a -i off &
3942
- uses: actions/checkout@v6
4043
with:
4144
persist-credentials: false
@@ -416,6 +419,9 @@ jobs:
416419
- { os: ubuntu-latest , features: "feat_os_unix" }
417420
- { os: macos-latest , features: "feat_os_macos" }
418421
steps:
422+
- name: Disable spotlight
423+
if: runner.os == 'macOS'
424+
run : sudo mdutil -a -i off &
419425
- uses: actions/checkout@v6
420426
with:
421427
persist-credentials: false
@@ -567,6 +573,9 @@ jobs:
567573
- { os: ubuntu-latest , features: "feat_os_unix" }
568574
- { os: macos-latest , features: "feat_os_macos" }
569575
steps:
576+
- name: Disable spotlight
577+
if: runner.os == 'macOS'
578+
run : sudo mdutil -a -i off &
570579
- uses: actions/checkout@v6
571580
with:
572581
persist-credentials: false

0 commit comments

Comments
 (0)