Commit graph

47 commits

Author SHA1 Message Date
Jean-François Milants fa17ae2098 Add 'workflow_dispatch' in the workflow file for Docker image generation to allow manually starting the workflow. 2022-07-09 12:19:38 +02:00
Finlay Davidson 27b73470f2 Only build Docker Images on develop, not master 2022-07-08 17:13:47 +02:00
Finlay Davidson c3bd04f497 Make Docker workflow push to latest and commit sha 2022-07-08 17:13:47 +02:00
Finlay Davidson 1b971eebae Don't try to cache to Docker Hub on pull request 2022-07-08 17:13:47 +02:00
Finlay Davidson 6a0aec0850 Use either a secret or infinitime as username
Uses either the DOCKER_HUB_USERNAME secret or just infinitime as
the username for pushing to and pulling from Docker Hub.
2022-07-08 17:13:47 +02:00
Finlay Davidson 4ee3e51605 Require event_name to be push for Docker Hub
Instead of just checking if it's not pull_request
2022-07-08 17:13:47 +02:00
Finlay Davidson b089fc2c61 Hardcode the Docker Hub username as infinitime
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-08 17:13:47 +02:00
FintasticMan 6c23aa5626 Create GH Actions workflow to build Docker image 2022-07-08 17:13:47 +02:00
Riku Isokoski b9f5a0745d
Don't build the firmware when only docs were modified (#1198) 2022-07-05 09:22:29 +03:00
FintasticMan a1385cb481
Minor changes to clang-format workflow (#1177) 2022-06-11 22:45:11 +03:00
Riku Isokoski 0fabba1c9a Remove extra linebreaks 2022-05-27 17:52:26 +02:00
Riku Isokoski a2218dd4ad Unzip DFU, so the artifact doesn't need to be unzipped by the user. 2022-05-27 17:52:26 +02:00
Riku Isokoski 619477cbd1 Rename uploaded files with source branch in workflows 2022-05-27 17:52:26 +02:00
Riku Isokoski cc2d5c39ce Cleanup workflows 2022-05-27 17:52:26 +02:00
Jean-François Milants 1ffca52715 Edit workflow to use the new docker image : infinitime/infinitime-build. 2022-05-26 11:35:25 +02:00
Jean-François Milants 123c801f17 Add comment about the workaround that was needed in the github workflow. 2022-05-26 11:35:25 +02:00
Jean-François Milants 831f93cd92 The main build workflow for GitHub Actions now uses the infinitime-build 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-26 11:35:25 +02:00
Riku Isokoski 6171c9d45d Only test format when it is wanted 2022-05-16 23:25:47 +02:00
Riku Isokoski a6fcdec0f8 Don't allow test-format.sh to be run locally 2022-05-16 23:25:47 +02:00
FintasticMan 8485cdb54d Only run lv_sim GH Actions on push to develop and master 2022-05-14 12:21:35 +02:00
Yehoshua Pesach Wallach 78267eec40 fongen: don't pre-build fonts 2022-05-10 22:20:02 +02:00
Yehoshua Pesach Wallach 2ccf88c03c fontgen: lock version at current 2022-05-10 22:20:02 +02:00
Yehoshua Pesach Wallach e39f183efe fontgen: make simulator build fonts too 2022-05-10 22:20:02 +02:00
Yehoshua Pesach Wallach b9fbee1007 Added lv_font_conv to workflow main 2022-05-10 22:20:02 +02:00
Riku Isokoski 015f17cd25 Add formatting test workflow 2022-05-08 13:31:00 +02:00
Reinhold Gschweicher 7e0b053b38 CI: lv_sim: initialize libpng submodule for WITH_PNG=ON screenshot
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-08 21:57:20 +01:00
Reinhold Gschweicher 4c92ed410f CI: add lv_sim workflow and upload 'infinisim' executable
use InfiniSim repo to build simulator in CI
2022-03-08 21:21:41 +01:00
Riku Isokoski 1ac1d5aa5a Add issue links 2022-02-12 18:21:52 +01:00
Jackson baa5954724 Use CMake universal build command
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-30 21:43:03 +01:00
Jackson 51d2888b52 Switch CI/CD to build using ninja vs. make
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-30 21:43:03 +01:00
Jean-François Milants 871a673a46 Tentative : fix issue template that redirect to a blank page. 2021-12-02 21:02:21 +01:00
JF 3681d3bbfd
Merge pull request #766 from Riksu9000/develop
Fix issue templates
2021-10-22 09:50:59 +02:00
JF c16f37198b
Merge pull request #767 from InfiniTimeOrg/Avamander-patch-2
Fixed the feature request template
2021-10-20 21:15:44 +02:00
Avamander 76234de7d6
Fixed the feature request template 2021-10-20 16:41:48 +03:00
Riku Isokoski e2d8397c08 Fix issue templates 2021-10-20 15:37:56 +03:00
NeroBurner 86bcea9e99
CI: add pintime-recovery to build jobs
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.
2021-10-18 08:08:43 +02:00
Avamander 4f7c675ae3
Removed the title prefix 2021-10-08 18:38:45 +03:00
Jean-François Milants 90fdea29b8 Fixed feature request template according to https://github.com/InfiniTimeOrg/InfiniTime/pull/705#issuecomment-933820293 2021-10-05 19:58:58 +02:00
Federico Igne de89c86ca9 Add templates for bug reports and feature requests 2021-09-30 14:29:11 +01:00
NeroBurner 3cc00771fa
Run CI on master and develop branch
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.
2021-09-10 23:42:49 +02:00
mabuch 40afae3833
Github Action - update mcuboot version 2021-08-14 20:46:29 +02:00
mabuch fbb4e8c6ae
fix Github Action build Firmware 2021-08-14 14:47:00 +02:00
Martin Ashby bca7ba4eed
Small correction to git URL in documentation files 2021-03-15 23:13:46 +00:00
Avamander 74f094d4e9
Create FUNDING.yml
Added a link to the LiberaPay donation page
2021-01-17 20:53:04 +02:00
Miguel Ángel Ordóñez Moya 3c7258ddb8
Update main.yml
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
2020-11-14 23:10:05 +01:00
JF 1bb7342cdb Backport Github Actions files from master branch. 2020-09-27 13:10:00 +02:00
JF 29b5caf895 Fix conflict 2020-07-25 16:11:35 +02:00