checkedc / checkedc-llvm-project

This repo contains a version of clang that is modified to support Checked C. Checked C is an extension to C that lets programmers write C code with bounds checking and improved type-safety.
13 stars 19 forks source link

Get automated testing of Checked C compiler tests working again #1212

Open dtarditi opened 1 year ago

dtarditi commented 1 year ago

We would benefit from getting automated testing of Checked C compiler tests working again. The targets would be 64-bit hosted compilers running on:

targeting those platforms. It would be nice to have 32-bit ARM targets tested via emulation because embedded systems are a good community for Checked C. However, we don't have the time/resources to do that.

The main issue is the computation requirements for building the clang compiler. Building the compiler is too computationally intensive for the free tier GitHub Actions or even building within a container on ECS. The choice is either to have a VM in the cloud or a dedicated physical machine. VMs would be expensive unless we implement turning them on and off on demands. MacVMs in the cloud are really expensive, easily costing more than buying a physical Mac device. I'll likely use physical devices running GitHub agents to avoid the costs of the cloud.