aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* CI: use bash for get-base-ref-size job (#2305)NeroBurner2025-05-291-0/+1
| | | | | | | | Same change as done in https://github.com/InfiniTimeOrg/InfiniTime/commit/c3295d6d2a325f9a7418b15b943342635026926e But for get-base-ref-size job The variable substitution I introduced are bash features. So they don't work with sh. Update the size job to use `bash` instead of `sh` as shell
* CI: use bash for output-sizs-jobNeroBurner2025-05-271-0/+1
| | | | | | | | | | Firmware build works. But the build size job afterwards fails. The firmware build uses `shell: bash --noprofile --norc -e -o pipefail {0}` as shell. The size job uses `shell: sh -e {0}` The variable substitution I introduced are bash features. So they don't work with sh. Update the size job to use `bash` instead of `sh` as shell
* fix: fix short ref not getting set in github buildsJulian Vos2025-05-211-1/+3
|
* Add "Run on InfiniEmu" link to pull requests (#2150)Felipe Martínez2025-01-281-0/+6
|
* Fixes #2219: use artifact v4 instead of v3Jozef Mlich2025-01-231-6/+6
|
* ci: Normalise slash-containing `github.head_ref` valuesDom Rodriguez2024-11-171-5/+10
| | | | | | This fixes CI on #2121. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
* Update main.ymlFelipe Martínez2024-08-181-0/+5
|
* CI: install build resource dependency python3-pil packageReinhold Gschweicher2023-10-261-0/+4
| | | | | Used by script `lv_img_conv.py`, should be provided by docker image, but until then explicitly install in workflow.
* workflows: Fix InfiniSim CI buildFintasticMan2023-09-181-3/+3
| | | | | InfiniSim has removed the libpng submodule and moved it to a system dependency.
* branches: Update files to refer to main instead of developFinlay Davidson2023-03-021-2/+2
|
* workflow: Updated workflow comment for allRiku Isokoski2023-01-311-24/+16
| | | | | | | | | | | | | | | | | The previous version failed, because it looked for the check from the branch in the fork, but looked for it in the main repo. Now uses the sha to get the commit on which checks were run. Previous description This works by uploading the data from the main workflow with low permissions as an artifact, then downloading the data in a workflow with higher permissions to post the comment. Third party actions are fixed at a commit, in case they get compromised. Also set the build-firmware VM to ubuntu-22.04, which was missed when updating workflow deps earlier.
* Revert "workflow: Comment build size on all PRs"Riku Isokoski2023-01-311-16/+24
| | | | This reverts commit 012c3d25f313148734b4720e376ec24ff6089453.
* workflow: Comment build size on all PRsRiku Isokoski2023-01-311-24/+16
| | | | | | | | | | | This works by uploading the data from the main workflow with low permissions as an artifact, then downloading the data in a workflow with higher permissions to post the comment. Third party actions are fixed at a commit, in case they get compromised. Also set the build-firmware VM to ubuntu-22.04, which was missed when updating workflow deps earlier.
* build-size-workflow: Fix when base gets updatedRiku Isokoski2023-01-281-10/+16
| | | | | | | | The github.event.pull_request.base.sha in the workflow doesn't get updated when there are new commits in the base branch. Instead always checkout the branch to check the sha manually and cache only the build. The ownership fix seems to still be necessary
* Update workflow dependencies (#1504)Riku Isokoski2023-01-121-5/+6
| | | | | | | | | * Update workflow dependencies ubuntu-latest vm has been updated from 20.04 to 22.04. To avoid sudden issues, use 22.04 explicitly. CMake doesn't need to be updated on 22.04, but ninja must be installed separately in the simulator workflow. actions/checkout@v2 uses deprecated Node.js 12. Update to v3 which uses 16
* workflow: echo build diffs for viewing without the commentRiku Isokoski2023-01-071-0/+8
|
* workflows: Disable build size comment in fork PRsRiku Isokoski2023-01-071-1/+5
| | | | | | | | Due to a security concern, comments can only be created in the context of branches in the repo. PRs from forks can't get the comment. https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
* workflows: Add build size comparison workflowRiku Isokoski2023-01-071-3/+103
| | | | | | | | | | | | | | Add .github/workflows/getSize.sh to extract sizes of sections from the objfile build-firmware uses getSize.sh to output the section sizes. get-base-ref-size job added, which builds the base branch of the PR and outputs the section sizes. Caches are used to avoid unnecessary builds when the base branch hasn't been updated. leave-build-size-comment job added, which creates or updates a comment on the PR with the build size information from other jobs.
* workflows: Update workflow dependencyRiku Isokoski2023-01-071-7/+1
| | | | The workaround is no longer necessary
* CI: disable BUILD_RESOURCES for InfiniSim as already done in firmware (#1366)NeroBurner2022-10-111-1/+2
|
* CI worklow "build-firmware" : add the infinitime-resources packages to the ↵Jean-François Milants2022-10-111-0/+5
| | | | build artifacts.
* Merge remote-tracking branch 'upstream/develop' into workflow-ignore-mdmashuptwice2022-08-251-9/+43
|\
| * Merge CI to deduplicate events (#1279)Riku Isokoski2022-08-251-9/+42
| |
* | Merge remote-tracking branch 'upstream/develop' into workflow-ignore-mdmashuptwice2022-08-251-2/+0
|\|
| * Move all images to doc. Remove old images. (#1282)Riku Isokoski2022-08-211-2/+0
| |
* | workflow: ignore changes in *.md filesmashuptwice2022-08-111-0/+2
|/
* Fix Docker workflow not pushing on manual triggerFinlay Davidson2022-07-191-1/+3
| | | | | | | | Also fix issue where workflow fails on pull requests when the user who made the pull request doesn't have the secrets set. Also allow other workflows to be triggered manually. Also don't trigger any workflows on pull requests to master, as there shouldn't be any pull requests against master.
* Don't build the firmware when only docs were modified (#1198)Riku Isokoski2022-07-051-0/+6
|
* Remove extra linebreaksRiku Isokoski2022-05-271-4/+2
|
* Unzip DFU, so the artifact doesn't need to be unzipped by the user.Riku Isokoski2022-05-271-2/+4
|
* Rename uploaded files with source branch in workflowsRiku Isokoski2022-05-271-4/+4
|
* Cleanup workflowsRiku Isokoski2022-05-271-7/+0
|
* Edit workflow to use the new docker image : infinitime/infinitime-build.Jean-François Milants2022-05-261-1/+1
|
* Add comment about the workaround that was needed in the github workflow.Jean-François Milants2022-05-261-0/+4
|
* The main build workflow for GitHub Actions now uses the infinitime-build ↵Jean-François Milants2022-05-261-142/+18
| | | | | | 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).
* fontgen: lock version at currentYehoshua Pesach Wallach2022-05-101-1/+1
|
* Added lv_font_conv to workflow mainYehoshua Pesach Wallach2022-05-101-0/+4
|
* Use CMake universal build commandJackson2021-12-301-6/+3
| | | Rather than using generator-specific build commands (ex. `make` or `ninja`), the CI build now uses `cmake --build` for a more modern, best practices approach.
* Switch CI/CD to build using ninja vs. makeJackson2021-12-301-4/+4
| | | By switching the CI/CD workflow to use CMake's `ninja` backend, the build time goes down considerably (~4.5 minutes to ~2) compared to GNU Make
* CI: add pintime-recovery to build jobsNeroBurner2021-10-181-0/+8
| | | | | | The recovery image "it is the last chance before a brick", as described in https://github.com/InfiniTimeOrg/InfiniTime/issues/742#issuecomment-943665960 So just build it to make sure it doesn't silently break, but don't upload it.
* Run CI on master and develop branchNeroBurner2021-09-101-4/+4
| | | | | The documentation https://github.com/JF002/InfiniTime/blob/develop/doc/contribute.md#how-to-submit-a-pull-request- tells us to make pull requests against `develop` branch. Update the CI to run on those pull requests to have a check if the PR breaks something unintentionally.
* Github Action - update mcuboot versionmabuch2021-08-141-6/+1
|
* fix Github Action build Firmwaremabuch2021-08-141-15/+14
|
* Small correction to git URL in documentation filesMartin Ashby2021-03-151-2/+2
|
* Update main.ymlMiguel Ángel Ordóñez Moya2020-11-141-3/+3
| | | | When installing Cmake you get Error: The add-path command is deprecated and will be disabled on November 16th... And the file pinetime-mcuboot-app-dfu.zip was being generated as pinetime-mcuboot-app-dfu.zip.zip
* Backport Github Actions files from master branch.JF2020-09-271-0/+171