Commit Graph

48 Commits

Author SHA1 Message Date
4da02373a5 disable fail fast, so feedback is provided for all matrix combinations 2025-09-15 09:25:18 +02:00
c724ff0449 remove explicit definition for repository, since it messes with act
`act` allows to debug github workflows before sending them to the
server, allowing to test some behaviour, before pushing.
2025-09-15 09:20:07 +02:00
1169ca98b1 use threaded makefile for more efficiency. 2025-09-13 21:11:58 +02:00
8a1ed6e3c4 attempt without including windows 2025-09-13 21:04:29 +02:00
a7678c874c write a CI workflow for multiple OSes, that compile and test the code using the makefile. 2025-09-13 20:57:54 +02:00
545eecca37 remove CI, because I cannot be bothered.
I am not going to work on the continuous integration workflow for now.
It keeps failing and I just do not care about it right now.
2025-08-25 09:32:31 +02:00
999180cd74 drop windows support
I am done, I could not take it anymore.
Windows cross-compilation was driving me mad, I'll figure something else
out... probably. I just can't deal with this anymore right now.
It will be added back but I am so fucking tired of messing about with
vcpkg and all that crap.
2025-08-18 13:47:54 +02:00
08a8e261f0 remove usage of cross compilation because it's borked. (thanks microsoft!!) 2025-08-13 16:18:50 +02:00
c1471e92bd remove release.yaml, since it's out of date and will be replaced when/if I get to it. 2025-08-13 16:18:50 +02:00
ee27935aab add vcpkg.json, and modify ci.yaml to improve usage vcpkg
Now we utilise storing dependencies in `vcpkg.json`, we can use this to
more easily install the dependencies.
Furthermore, we moved cloning vcpkg to `checkout`, which creates clones
with `--depth=1` by default.
2025-08-13 16:00:51 +02:00
7ef32c06ea add libarchive to the dependencies.
library for handling archives, like gzip, xz, zstd, et cetera.
This'll be crucial later on.
2025-08-10 23:24:55 +02:00
1ea37b6e86 fix: there is no need to let the compilation continue if it fails.
it actually makes it less easy to locate errors.
2025-07-24 16:29:03 +02:00
6997e08b05 add copyright information and code cleanup 2025-06-15 14:29:28 +02:00
efcc02248f fix: github actions having too much trouble executing wine 2025-06-15 14:16:43 +02:00
846cf467a3 utilise the quick compilation using default flags in the workflow 2025-06-15 13:57:52 +02:00
c134963773 add windows testing 2025-06-15 13:57:52 +02:00
dc4dfe0cae add wine 2025-06-15 13:57:52 +02:00
b598db75c7 optimise dockerfile
move everything to a single RUN to keep run-layering at a minimum.
furthermore, broke up some dependencies.
2025-06-15 13:57:52 +02:00
Quinn
1679349098 allow the workflow to continue on some errors, since they're non-fatal
Signed-off-by: Quinn <99677023+thepigeongenerator@users.noreply.github.com>
2025-06-15 13:57:52 +02:00
e6ffe785cd merge all seperate jobs into a single job, since this is more efficient. 2025-06-12 11:16:21 +02:00
09ee136177 tmpfix: revert change for using APT instead of the docker container, as it doesn't work yet.
I first need to figure out why vcpkg cannot find the GLFW package.
2025-06-11 17:59:08 +02:00
64f3ee457b set workflow vcpkg path to be within ${{github.workspace}} 2025-06-11 17:56:22 +02:00
83f929911e reorder arguments in CI workflow
it's more logical to have the DEBUG arument at the end, to be on-par
with `compile` job
2025-06-11 17:56:22 +02:00
c77f711982 remove dependency on custom docker container, since it seems to be rather slow
I hope to speed things up by using the native ubuntu-latest, but it
might be just as slow, if not slower. In which case I'll likely switch
back.
If it is faster, the dockerfile will be deleted in a subsequent commit.
2025-06-11 17:56:22 +02:00
18bb82fa11 improve vcpkg generation / caching 2025-06-09 23:20:50 +02:00
28a96a2cf6 compiling from scratch is faster than dealing with artifacts 2025-06-06 19:30:46 +02:00
de2e8a7ed8 store vcpkg in cache to reduce runtime performance hit 2025-06-06 19:24:25 +02:00
eb03b30a0d make container selection more consise 2025-06-02 12:41:01 +02:00
38afc94d4f optimise CI pipeline by removing vcpkg building from the dockerfile. 2025-06-02 12:41:01 +02:00
95b590e815 fix: add libglfw3 to the dockerfile so testing occurs correctly. 2025-06-02 12:41:01 +02:00
84a966b775 merge CI pipelines again, since the new thing didn't work well with artifacts. 2025-06-02 12:41:01 +02:00
54468cbad3 update CI to use the newer makefile system 2025-06-02 12:41:01 +02:00
Quinn
68ad3e3109 implement automated testing CI pipeline 2025-06-02 12:41:01 +02:00
Quinn
8ca5620d66 include dockerfile in repo
store the docker file used in the workflows in the repo as well
2025-06-02 12:41:00 +02:00
Quinn
8b410a492a rename validate to ci/bin, and split up workflows
This is mainly to improve the clairity of the workflows, also allowing
them to be used for the different "badges", showing the state of each.
2025-06-02 12:41:00 +02:00
Quinn
cf908a2f65 add -j argument to speed up compillation on the cloud
-j tells make to not set a limit to the amount of jobs it can use
parralel to one another.
We just gotta make sure the makefile supports the paralelsation
correctly, currently it should be.
2025-06-02 12:41:00 +02:00
Quinn
c57ff88f70 use new docker image
not using rust anymore, and really need to be able to use the package we
need
2025-05-01 16:48:46 +02:00
Quinn
eeb219a5b4 fix: no such thing as '$default-branch' 2025-05-01 16:48:37 +02:00
Quinn
d6409f5473 workflow fixes
- checkout@latest is not allowed, reverted back to checkout@v4
- set rust to use the stable release
2025-05-01 16:48:34 +02:00
Quinn
ec06481a36 write todo comments 2025-05-01 16:48:33 +02:00
Quinn
f6458ddc46 implement validate
validate hasn't fully been finished yet, linting still needs to be added
and we'll add unit tests as well, but that's when I've actually written
the tests.
2025-05-01 16:48:32 +02:00
Quinn
417c110187 move to using a custom docker image instead of trying to manage the dependencies ourselves 2025-05-01 16:48:32 +02:00
Quinn
3a6fab28bd moved jobs into a matrix based job, rather two seperate jobs 2025-05-01 16:48:27 +02:00
Quinn
e66cc9c0b1 fix: gave arguments before the executing command 2025-05-01 16:48:27 +02:00
Quinn
6adc2f2767 fix: toolchains unavailable when compiling 2025-05-01 16:48:22 +02:00
Quinn
63b672c4ed fix: validate's name is incorrect 2025-05-01 16:48:21 +02:00
Quinn
3cf141e988 implement workflows for the most part
workflows fail immediately when pushing, started filling them.
"validate" currently has a placeholder, "release" is still unable to
compile due to the clang dependency.
Will fix these in the next commit.
2025-05-01 16:48:20 +02:00
Quinn
7a64aefcac setup project files
Added (most) of the project files to the working tree.
Some work still needs to be done to make the rust/C communication better
before we can fully move on to starting to write the actual applicaiton.
2025-05-01 16:48:18 +02:00