summaryrefslogtreecommitdiff
path: root/docker/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-12-13fixing build.sh not returning error in build (#1460)cybuzuma1-1/+11
Return the build status as return code from the `main` helper function. In the process convert the handling if the file was sourced or directly executed into an explicit if/else statement to make the intent clearer. In case of an build error the error is now reported at the build step, where the error happened. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/1292
2022-09-17Remove CMake targets and corresponding CLI arguments that are specific to ↵Jean-François Milants1-1/+0
the debugging environment (USE_JLINK, USE_OPENOCD and USE_GDB_CLIENT).
2022-09-11Small improvement in generate-fonts.py following code review.Jean-François Milants1-1/+6
Add lv_img_conf in Docker image to build resources at build time.
2022-07-08Downgrade GNU Arm Toolchain to 10.3-2021.10Finlay Davidson1-3/+3
This is because of this bug: https://community.arm.com/support-forums/f/compilers-and-libraries-forum/52623/gcc-11-2-arm-none-eabi-internal-compiler-error-illegal-instruction It is causing some of the GitHub Actions builds to fail.
2022-06-11Update arm gcc toolchain to 11.2-2022.02Finlay Davidson1-6/+7
Updates the buildAndProgram doc and the docker image, which means GitHub Actions will also use the new toolchain.
2022-05-26The main build workflow for GitHub Actions now uses the infinitime-build ↵Jean-François Milants1-10/+6
docker image to build the firmware. This allows to avoid the duplication of the build logic in Docker and Github workflow format. The Dockerfile has been slightly adapted (remove the USER instructions). Docker images are now published in DockerHub (jf002/infinitime-build).
2021-10-17Update git URLS, MCUboot is now independent w/ different GitHub org.carlosperate1-1/+1
2021-02-01Add new cmake option to disable the generation of DFU file (which needs ↵Jean-François Milants1-0/+1
adafruit-nrfutil on the build machine) : BUILD_DFU (disabled by default, enabled in docker build).
2021-01-23check for cmake build-success before running post-build.shpetter1-3/+5
2020-12-22Make TOOLS_DIR if neededJoe Eaves1-0/+3
Added some extra dir names to gitignore
2020-12-21Integrate improvements from #137Joe Eaves1-2/+2
Also fixed a bug with empty quoted strings
2020-12-21Unify the Dockerfiles by fleshing out build.shJoe Eaves1-6/+67
Script is written to handle it's own dependencies so it can be used within Docker or on the host system
2020-08-20Docker build : split build.sh into 2 scripts : build.sh that always exists ↵JF1-0/+12
and post_build.sh that is generated by cmake build.sh
2020-08-19All output files (bin, hex, image, dfu) contain the version of the project ↵JF1-25/+0
in their filename. Update Docker build script accordingly. Also fix permission issue with docker build (all files belonged to root).
2020-08-19Add docker file create docker image that builds the project on amd64 and ↵JF1-0/+25
arm64 arch.