New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/sc-100324/ci-build-cross-platform #2418
Merged
busticated
merged 3 commits into
develop
from
feature/sc-100324/ci-build-cross-platform
Apr 11, 2022
Merged
feature/sc-100324/ci-build-cross-platform #2418
busticated
merged 3 commits into
develop
from
feature/sc-100324/ci-build-cross-platform
Apr 11, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
busticated
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
13 times, most recently
from
April 5, 2022 19:09
81cdb54
to
15286d4
Compare
monkbroc
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
9 times, most recently
from
April 8, 2022 02:51
157fea0
to
56b0f15
Compare
busticated
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
2 times, most recently
from
April 8, 2022 17:30
9914e7c
to
7700150
Compare
busticated
commented
Apr 8, 2022
busticated
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
from
April 9, 2022 19:07
7979adb
to
9cb91a5
Compare
busticated
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
17 times, most recently
from
April 11, 2022 19:43
fd6f3bc
to
8405492
Compare
avtolstoy
approved these changes
Apr 11, 2022
busticated
force-pushed
the
feature/sc-100324/ci-build-cross-platform
branch
from
April 11, 2022 20:44
8405492
to
8962200
Compare
i've run this pipeline now an absolutely ungodly number of times and of course just as i'm about to merge i hit some weirdness 😅🤦. over in an ubuntu job, i just saw an error during the
(log) i just re-ran the step and it worked as expected so it's almost certainly just a blip. let's keep an eye on it though - if we see more failures, we can dig in more 👍 |
4 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Device OS' build system drives local compilation of user firmware in a number of Particle's user-facing and internal developer tools - most notably Particle Workbench. Currently prior to releasing, the build system is tested on Linux / Ubuntu which means bugs and regressions are much harder to proactively catch on other supported platforms (Windows and macOS).
Solution
Add a series of checks to the CI/CD system such that key local compilation tasks are regularly tested to ensure they work across all supported environments (Windows, Linux / Ubuntu, and macOS)
Steps to Test
./scripts/test-build-tasks.sh ~/path/to/device-os
.\scripts/test-build-tasks.ps1 $home\project
outcome
Scripts should run properly - exiting on error and otherwise reporting success. CI configuration changes should make sense and do what you expect.
References
https://app.shortcut.com/particle/story/100324/add-ci-job-s-to-validate-device-os-builds-on-all-supported-oses-windows-linux-ubuntu-and-macos
Completeness