CI on Forgejo Actions for Linux and Windows #7
No assignees
Labels
No labels
area/build
area/content
area/editor
area/engine
area/graphics
area/platform
area/repo-wide
area/tests
area/tools
bug
optional
roadmap
size/L
size/M
size/S
No project
No milestone
Depends on
#3 clang-tidy at zero warnings, no C-style casts, Windows compile databases
UnflavoredMeson/Primal_Plus_Plus
#4 Self-contained headers and no include cycles
UnflavoredMeson/Primal_Plus_Plus
#5 Unit tests with doctest
UnflavoredMeson/Primal_Plus_Plus
Reference
No Branch/Tag specified
Notifications
1 participant
Due date
No due date set.
Reference
UnflavoredMeson/Primal_Plus_Plus#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Two OSes and three compilers: something you didn't build locally breaks on every other push. CI catches it before the next session starts from a broken state.
Decided
.forgejo/workflows/.Tools/CI/Dockerfileand published to Forgejo's registry (Tools/CI/publish-image.sh);Tools/CI/ci.shholds the jobs so they run the same locally (ci.sh build <preset>,tidy,checks,sanitizers).windows, one job at a time): the four configurations and UnitTests.Read first
UnflavoredMeson/Primal#14.Steps
Tools/CI/Dockerfilewith clang, GCC, CMake, Ninja and the libraries; build it locally.ci.shwithbuild,tidyandchecks; run it inside the image..forgejo/workflows/linux.yml.Tools/CI/WindowsRunner.mdin the fork's repo describes it) and addwindows.yml.Done when
ci.sh build linux-debugpasses locally.Claude can help with
ci.shfrom your list of jobs.Learn