mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
windows flake is different than on macos
This commit is contained in:
parent
b1fff17730
commit
fda3b44315
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@ -34,9 +34,9 @@ jobs:
|
||||
curl.exe -L -O https://github.com/roc-lang/llvm-package-windows/releases/download/v13.0.1/LLVM-13.0.1-win64.7z
|
||||
7z x LLVM-13.0.1-win64.7z -oC:\LLVM-13.0.1-win64
|
||||
|
||||
- name: build tests release without running
|
||||
run: cargo test --locked --release --no-run
|
||||
- name: Build tests release without running. Twice for flakyness.
|
||||
run: cargo test --locked --release --no-run || cargo test --locked --release --no-run
|
||||
|
||||
- run: cargo test-gen-llvm
|
||||
|
||||
|
||||
- run: cargo test-gen-wasm
|
||||
|
@ -227,10 +227,9 @@ fn run_command<S, I: Copy, P: AsRef<Path> + Copy>(
|
||||
Err(_) => format!("Failed to run \"{}\"", command_str),
|
||||
};
|
||||
|
||||
// flaky test errors
|
||||
if error_str.contains("FileNotFound") // only occurs sometimes inside MacOS ci run
|
||||
|| error_str.contains("unable to save cached ZIR code") // only occurs sometimes inside MacOS ci run
|
||||
|| error_str.contains("lld-link: error: failed to write the output file: Permission denied") // only occurs sometimes on windows
|
||||
// Flaky test errors that only occur sometimes on MacOS ci server.
|
||||
if error_str.contains("FileNotFound")
|
||||
|| error_str.contains("unable to save cached ZIR code")
|
||||
{
|
||||
if flaky_fail_counter == 10 {
|
||||
panic!("{} failed 10 times in a row. The following error is unlikely to be a flaky error: {}", command_str, error_str);
|
||||
|
Loading…
Reference in New Issue
Block a user