Skip to content

Flaky Github Actions Windows build

Summary

Build fails in Github Actions Windows with the following error:

Assembler messages:
Fatal error: can't create D:\\a\\_temp\\ghcB2F9.o: Invalid argument
`gcc.exe' failed in phase `Assembler'. (Exit code: 1)

See https://github.com/input-output-hk/ouroboros-network/runs/2677535138

Steps to reproduce

It's not clear how to reproduce.

Expected behavior

Build should not sometimes fail like this even if it is very infrequent.

Environment

  • GHC version used: 8.10.4

Optional:

  • Operating System: Windows (Github)
  • System Architecture: Intel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information