Ubuntu runner prematurely shutdown

I run a matrix job with fail-fast = false, and Ubuntu-20.04 runner with always gets shutdown for now obvious reason, I only get this message in the log after the build has been terminated:

The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.

Link to job


Did you try other GitHub-hosted Ubuntu runners (Ubuntu 18.04 and Ubuntu 16.04)? Did they work?
Please have a try with them, and any update, feel free to tell us.

In addition, I have created an issue ticket (actions/runner#724) to help you report the problem to the appropriate engineering team for further investigation and evaluation.

You can follow this issue ticket and add your comments to it.

I switch from using make to ninja to build then the error disappeared

I can not build with ubuntu 18.04 or older, the c++ compiler is to old