diff options
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index abdec602e..84c04ee72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -56,28 +56,13 @@ jobs: | |||
56 | with: | 56 | with: |
57 | command: test | 57 | command: test |
58 | 58 | ||
59 | - name: Prepare build directory for cache (UNIX) | 59 | - name: Prepare cache |
60 | if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | 60 | run: cargo xtask pre-cache |
61 | run: | | ||
62 | find ./target/debug -maxdepth 1 -type f -delete \ | ||
63 | && rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*} \ | ||
64 | && rm -f ./target/.rustc_info.json \ | ||
65 | && rm ./target/.slow_tests_cookie | ||
66 | 61 | ||
67 | - name: Prepare build directory for cache (Windows) | 62 | - name: Prepare cache 2 |
68 | if: matrix.os == 'windows-latest' | 63 | if: matrix.os == 'windows-latest' |
69 | run: >- | 64 | run: Remove-Item ./target/debug/xtask.exe |
70 | (Get-ChildItem ./target/debug -Recurse -Depth 1 -File | Remove-Item) -and | 65 | |
71 | (Remove-Item -Force -Recurse ./target/debug/deps/*ra_*) -and | ||
72 | (Remove-Item -Force -Recurse ./target/debug/deps/*heavy_test*) -and | ||
73 | (Remove-Item -Force -Recurse ./target/debug/deps/*gen_lsp*) -and | ||
74 | (Remove-Item -Force -Recurse ./target/debug/deps/*thread_worker*) -and | ||
75 | (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*ra_*) -and | ||
76 | (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*heavy_test*) -and | ||
77 | (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*gen_lsp*) -and | ||
78 | (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*thread_worker*) -and | ||
79 | (Remove-Item -Force ./target/.rustc_info.json) -and | ||
80 | (Remove-Item ./target/.slow_tests_cookie) | ||
81 | 66 | ||
82 | type-script: | 67 | type-script: |
83 | name: TypeScript | 68 | name: TypeScript |