diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 33cee2a8c5..83a95ca0a9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,6 +15,7 @@ jobs: runs-on: windows-2022 env: LLVM_SYS_130_PREFIX: C:\LLVM-13.0.1-win64 + timeout-minutes: 150 steps: - uses: actions/checkout@v2 @@ -40,9 +41,12 @@ 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. Twice for zig error. + - name: Build tests --release without running. Twice for zig lld-link error. run: cargo test --locked --release --no-run || cargo test --locked --release --no-run - - run: cargo test --release -p roc_ident -p roc_region -p roc_collections -p roc_can -p roc_types -p roc_solve -p roc_mono -p roc_gen_dev -p roc_gen_wasm -p roc_serialize -p roc_editor -p roc_linker + # Why are these tests not build with previous command? => fingerprint error. Use `CARGO_LOG=cargo::core::compiler::fingerprint=info` to investigate + - name: Build specific tests without running. Twice for zig lld-link error. + run: cargo test --locked --release --no-run -p roc_ident -p roc_region -p roc_collections -p roc_can -p roc_types -p roc_solve -p roc_mono -p roc_gen_dev -p roc_gen_wasm -p roc_serialize -p roc_editor -p roc_linker || cargo test --locked --release --no-run -p roc_ident -p roc_region -p roc_collections -p roc_can -p roc_types -p roc_solve -p roc_mono -p roc_gen_dev -p roc_gen_wasm -p roc_serialize -p roc_editor -p roc_linker - - run: cargo test --release -p roc_fmt -- --skip test_fmt::test_fmt_builtins --skip test_fmt::test_fmt_examples + - name: Actually run the tests. + run: cargo test --locked --release -p roc_ident -p roc_region -p roc_collections -p roc_can -p roc_types -p roc_solve -p roc_mono -p roc_gen_dev -p roc_gen_wasm -p roc_serialize -p roc_editor -p roc_linker