File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 rustup component add llvm-tools-preview
2323 cargo install cargo-binutils
2424 - name : Build
25- run : ./build.sh
25+ run : ./build.sh --verbose
2626 - name : Upload files to Release
2727 if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
2828 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ for TARGET_ARCH in thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi; do
1111 echo " TARGET is ${TARGET_ARCH} "
1212 for BINARY in flash0002 flash0802 flash1002; do
1313 echo " BINARY is ${BINARY} "
14- cargo build --verbose --release --target=${TARGET_ARCH} --bin ${BINARY}
14+ cargo build $* --release --target=${TARGET_ARCH} --bin ${BINARY}
1515 # objcopy would do the build for us first, but it doesn't have good build output
16- cargo objcopy --verbose --release --target=${TARGET_ARCH} --bin ${BINARY} -- -O binary ${RELEASE_DIR} /${TARGET_ARCH} -${BINARY} -libneotron_os.bin
16+ cargo objcopy $* --release --target=${TARGET_ARCH} --bin ${BINARY} -- -O binary ${RELEASE_DIR} /${TARGET_ARCH} -${BINARY} -libneotron_os.bin
1717 # Keep the ELF file too (for debugging)
1818 cp ./target/${TARGET_ARCH} /release/${BINARY} ${RELEASE_DIR} /${TARGET_ARCH} -${BINARY} -libneotron_os.elf
1919 done
You can’t perform that action at this time.
0 commit comments