vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.9k stars 120 forks source link

Add CI #15

Closed crthpl closed 3 years ago

crthpl commented 3 years ago

For this, we need to have a pre-built x86_64-vos-gcc, to prevent timing out the CIs (and also make it a lot faster). One CI will build x86_64-vos-gcc, and then publish it in releases (if the commit has a tag).

List of things we should test:

youyuanwu commented 3 years ago

I am adding this. Will have PR soon.

mintsuki commented 3 years ago

This has been added, I won't use the formatter as it still actively breaks code.

youyuanwu commented 3 years ago

I was unable to figure out how to build the gcc (in make distros) separately, and then use artifact to save it and use it in a later stage. The /build folder is very big to save altogether.

The workflow you added works for now. But the majority of the build time is for building gcc.