build: workflow from hell #1

Merged
Future merged 15 commits from build/ci into main 2024-03-20 17:11:36 +00:00
Showing only changes of commit be8b67d048 - Show all commits

View File

@ -9,11 +9,11 @@ cd ..
cp iw4/scripts/mp/_jump.gsc build/iw4
# replace gsc extension with c so GCC is happy
mv iw5/scripts/mp/_jump.gsc iw5/scripts/mp/_jump.c
# replace gsc extension with cpp so GCC is happy
mv iw5/scripts/mp/_jump.gsc iw5/scripts/mp/_jump.cpp
# perform macro expansion
gcc -std=c++2a -D_UTILITY_DEBUG -DIW5 -DCI -E "iw5/scripts/mp/_jump.c" -o _jump.in
g++ -std=c++2a -D_UTILITY_DEBUG -DIW5 -DCI -E "iw5/scripts/mp/_jump.cpp" -o _jump.in
# remove things gcc added to the file
python3 .gitea/scripts/clean.py _jump.in _jump.gsc