-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplification of the definition of projects to run in GitHub actions #242
Simplification of the definition of projects to run in GitHub actions #242
Conversation
d1f72e7
to
ac7e12e
Compare
712ebb8
to
cd1032d
Compare
cd1032d
to
daa5546
Compare
c3ec550
to
44eea88
Compare
44eea88
to
05417a5
Compare
Now I have tests which also compare the first SVG from the output to some reference, stored in tests/cases/output_{project_name}.
So basically the same as above, plus a max_time, and an output folder. This will compare all the SVGs generated in the output folder until max_time, to their reference. So a new project needs a new definition here, plus the reference SVGs. It compiles the project, and then use two scripts based on Randy's work:
|
11086b0
to
eeb7816
Compare
I wrote a simpler version of the GitHub actions, using what's called a matrix: https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
We define the list of projects to run like this:
Each element needs a project, which is the name used when running
make <project>
, a name, the filename of the binary file, and the optional path of a config file.This needs to be set up for all the different runners: macos-12 (x86_64), macos-14 (arm64), linux, windows. But the syntax is exactly the same.