moving ci/cd over to forgejo

This commit is contained in:
Nicholas Orlowsky 2025-02-04 13:26:54 -05:00
parent 0ebdb34601
commit 3c9edb1e0b
Signed by: nickorlow
GPG key ID: 838827D8C4611687
13 changed files with 57 additions and 29 deletions

View file

@ -15,23 +15,11 @@ add_custom_target(build-version
add_custom_target(build-supplemental
COMMAND cd ../build_supp && python3 ./error_gen.py
COMMAND cp -r ../www .
DEPENDS build_supp/version.txt www/* build_supp/error_gen.py build-version
COMMAND mkdir www && cp -r ../default_www/regular/* ./www/
DEPENDS build_supp/version.txt ../default_www/regular/* build_supp/error_gen.py build-version
COMMENT "Generated supplemental build files (default www dir + error pages)"
)
add_custom_target(lint
COMMAND clang-tidy *.cpp
)
add_custom_target(lint-fix
COMMAND clang-tidy *.cpp -fix -fix-errors
)
add_custom_target(build-docker
COMMAND docker build .. -t anthracite
)
add_custom_target(run
COMMAND anthracite-bin
DEPENDS anthracite-bin