mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-26 22:50:45 +00:00
b777e4d577
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.
31 lines
930 B
YAML
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"
|