summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07workflow: echo build diffs for viewing without the commentRiku Isokoski1-0/+8
2023-01-07workflows: Disable build size comment in fork PRsRiku Isokoski1-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/
2023-01-07workflows: Add build size comparison workflowRiku Isokoski2-3/+122
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.
2023-01-07workflows: Update workflow dependencyRiku Isokoski1-7/+1
The workaround is no longer necessary
2023-01-04Update clang-{format,tidy} to 14Finlay Davidson1-2/+2
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
2022-10-11CI: disable BUILD_RESOURCES for InfiniSim as already done in firmware (#1366)NeroBurner1-1/+2
2022-10-11CI worklow "build-firmware" : add the infinitime-resources packages to the ↵Jean-François Milants1-0/+5
build artifacts.
2022-10-10Fix docker issueRiku Isokoski1-2/+3
2022-10-10Add clang-tidy check to display warnings on GitHubRiku Isokoski1-3/+35
2022-08-25Merge remote-tracking branch 'upstream/develop' into workflow-ignore-mdmashuptwice1-9/+43
2022-08-25removed lv_sim.ymlmashuptwice1-74/+0
2022-08-25Merge remote-tracking branch 'upstream/develop' into workflow-ignore-mdmashuptwice2-4/+0
2022-08-25Merge CI to deduplicate events (#1279)Riku Isokoski2-81/+42
2022-08-21Move all images to doc. Remove old images. (#1282)Riku Isokoski2-4/+0
2022-08-11workflow: ignore changes in *.md filesmashuptwice2-0/+4
2022-07-19Fix Docker workflow not pushing on manual triggerFinlay Davidson4-10/+16
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.
2022-07-09Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants1-7/+5
2022-07-09Add 'workflow_dispatch' in the workflow file for Docker image generation to ↵Jean-François Milants1-0/+2
allow manually starting the workflow.
2022-07-09Docker workflow use separate username for loginFinlay Davidson1-7/+5
2022-07-08Only build Docker Images on develop, not masterFinlay Davidson1-2/+2
2022-07-08Make Docker workflow push to latest and commit shaFinlay Davidson1-1/+13
2022-07-08Don't try to cache to Docker Hub on pull requestFinlay Davidson1-1/+13
2022-07-08Use either a secret or infinitime as usernameFinlay Davidson1-4/+6
Uses either the DOCKER_HUB_USERNAME secret or just infinitime as the username for pushing to and pulling from Docker Hub.
2022-07-08Require event_name to be push for Docker HubFinlay Davidson1-2/+2
Instead of just checking if it's not pull_request
2022-07-08Hardcode the Docker Hub username as infinitimeFinlay Davidson1-4/+4
This is so that pull requests that modify the docker image but don't have the DOCKER_HUB_USERNAME secret set won't fail.
2022-07-08Create GH Actions workflow to build Docker imageFintasticMan1-0/+42
2022-07-05Don't build the firmware when only docs were modified (#1198)Riku Isokoski2-0/+12
2022-06-11Minor changes to clang-format workflow (#1177)FintasticMan1-2/+1
2022-05-27Remove extra linebreaksRiku Isokoski1-4/+2
2022-05-27Unzip DFU, so the artifact doesn't need to be unzipped by the user.Riku Isokoski1-2/+4
2022-05-27Rename uploaded files with source branch in workflowsRiku Isokoski2-6/+6
2022-05-27Cleanup workflowsRiku Isokoski2-19/+0
2022-05-26Edit workflow to use the new docker image : infinitime/infinitime-build.Jean-François Milants1-1/+1
2022-05-26Add comment about the workaround that was needed in the github workflow.Jean-François Milants1-0/+4
2022-05-26The main build workflow for GitHub Actions now uses the infinitime-build ↵Jean-François Milants1-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).
2022-05-16Only test format when it is wantedRiku Isokoski1-0/+4
2022-05-16Don't allow test-format.sh to be run locallyRiku Isokoski1-1/+1
2022-05-14Only run lv_sim GH Actions on push to develop and masterFintasticMan1-2/+2
2022-05-10fongen: don't pre-build fontsYehoshua Pesach Wallach1-5/+0
2022-05-10fontgen: lock version at currentYehoshua Pesach Wallach2-2/+2
2022-05-10fontgen: make simulator build fonts tooYehoshua Pesach Wallach1-0/+9
2022-05-10Added lv_font_conv to workflow mainYehoshua Pesach Wallach1-0/+4
2022-05-08Add formatting test workflowRiku Isokoski1-0/+34
2022-03-08CI: lv_sim: initialize libpng submodule for WITH_PNG=ON screenshotReinhold Gschweicher1-1/+1
InfiniSim PR https://github.com/InfiniTimeOrg/InfiniSim/pull/10 adds support for screenshots in png/bmp format using `libpng` submodule. This new submodule must be added to the lv_sim workflow as well.
2022-03-08CI: add lv_sim workflow and upload 'infinisim' executableReinhold Gschweicher1-0/+74
use InfiniSim repo to build simulator in CI
2022-02-12Add issue linksRiku Isokoski1-0/+8
2021-12-30Use CMake universal build commandJackson1-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.
2021-12-30Switch CI/CD to build using ninja vs. makeJackson1-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
2021-12-02Tentative : fix issue template that redirect to a blank page.Jean-François Milants2-0/+2
2021-10-22Merge pull request #766 from Riksu9000/developJF1-1/+0
Fix issue templates