fireemblem8u/buddy.yml
laqieer b777e4d577 Allow to use your own cpp.
Fix build error in CI: /bin/sh: 1: arm-none-eabi-cpp: not found.
Because luckytyphlosion/agbcc/tree/new_layout_with_libs doesn't provide cpp.
2021-10-10 15:19:47 +08:00

31 lines
930 B
YAML

- pipeline: "Build"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "master"
ref_type: "BRANCH"
trigger_condition: "ALWAYS"
actions:
- action: "Execute: PATH=`pwd`/tools/binutils/bin:$PATH make"
type: "BUILD"
working_directory: "/buddy/fireemblem8u"
docker_image_name: "library/gcc"
docker_image_tag: "7"
execute_commands:
- "if [ ! -d \"agbcc-new_layout_with_libs\" ];"
- "then"
- "\tcurl -L https://codeload.github.com/luckytyphlosion/agbcc/zip/new_layout_with_libs -o agbcc.zip"
- "\tunzip agbcc.zip"
- "fi"
- "if [ ! -d \"tools/agbcc\" ]"
- "then"
- "\tcd agbcc-new_layout_with_libs/"
- "\tmake"
- "\tmake install prefix=../"
- "\tcd ../"
- "fi"
- "./build_tools.sh"
- "PATH=`pwd`/tools/binutils/bin:$PATH CPP=cpp make"
- "scripts/calcrom.sh"
mount_filesystem_path: "/buddy/fireemblem8u"
shell: "BASH"
trigger_condition: "ALWAYS"