I have added some simple makefiles that allow to simplify building and testing:
make - builds the compiler
make test-setup - creates environment for testing (gets pytest etc.)
make test - run the tests
The second thing is the configuration to execute automated builds and tests in Github Actions. This is a very basic configuration, made with the purpose just to make test builds, it can be extended/adapted to build workflows for other systems (currently just Ubuntu Linux) or store build artifacts for downloads / releases etc.
Anyway, this should help build and test.
Note that also a requirement for merging to a branch (ie. master) can be added so that the project must build successfully (in fact, currently it fails on one of the tests, on assembling, I think), otherwise the PR cannot be merged. (You can set it in project configuration, in case you find it useful).
I have added some simple makefiles that allow to simplify building and testing:
make
- builds the compilermake test-setup
- creates environment for testing (gets pytest etc.)make test
- run the testsThe second thing is the configuration to execute automated builds and tests in Github Actions. This is a very basic configuration, made with the purpose just to make test builds, it can be extended/adapted to build workflows for other systems (currently just Ubuntu Linux) or store build artifacts for downloads / releases etc. Anyway, this should help build and test.
You can see some results here: https://github.com/t-w/Mad-Pascal/actions
Note that also a requirement for merging to a branch (ie. master) can be added so that the project must build successfully (in fact, currently it fails on one of the tests, on assembling, I think), otherwise the PR cannot be merged. (You can set it in project configuration, in case you find it useful).