build: crazy workflow idea 81
All checks were successful
Build / build-linux (push) Successful in 6s
All checks were successful
Build / build-linux (push) Successful in 6s
This commit is contained in:
parent
82f2702463
commit
be8b67d048
@ -9,11 +9,11 @@ cd ..
|
|||||||
|
|
||||||
cp iw4/scripts/mp/_jump.gsc build/iw4
|
cp iw4/scripts/mp/_jump.gsc build/iw4
|
||||||
|
|
||||||
# replace gsc extension with c so GCC is happy
|
# replace gsc extension with cpp so GCC is happy
|
||||||
mv iw5/scripts/mp/_jump.gsc iw5/scripts/mp/_jump.c
|
mv iw5/scripts/mp/_jump.gsc iw5/scripts/mp/_jump.cpp
|
||||||
|
|
||||||
# perform macro expansion
|
# 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
|
# remove things gcc added to the file
|
||||||
python3 .gitea/scripts/clean.py _jump.in _jump.gsc
|
python3 .gitea/scripts/clean.py _jump.in _jump.gsc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user