https://github.com/arminjo/github-actions
Github actions script for testing build of Arduino libraries with arduino-test-compile
https://github.com/arminjo/github-actions
actions arduino continuous-integration github github-actions github-workflow test-automation testing workflow yml
Last synced: 3 months ago
JSON representation
Github actions script for testing build of Arduino libraries with arduino-test-compile
- Host: GitHub
- URL: https://github.com/arminjo/github-actions
- Owner: ArminJo
- License: mit
- Created: 2020-02-28T17:26:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T11:07:38.000Z (over 1 year ago)
- Last Synced: 2023-10-13T06:06:14.146Z (over 1 year ago)
- Topics: actions, arduino, continuous-integration, github, github-actions, github-workflow, test-automation, testing, workflow, yml
- Language: C++
- Homepage:
- Size: 835 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github workflow test script for development and testing the [arduino-test-compile action](https://github.com/ArminJo/arduino-test-compile) and [bash script](https://github.com/ArminJo/arduino-test-compile/arduino-test-compile.sh).
## The arduino-test-compile action is available as an [action in the GitHub Marketplace](https://github.com/marketplace/actions/test-compile-for-arduino).
[](https://spdx.org/licenses/MIT.html)
[](https://github.com/ArminJo/Github-Actions/actions)
[](https://github.com/ArminJo/Github-Actions/actions)
[](https://github.com/ArminJo/Github-Actions/actions)
[](https://github.com/ArminJo/Github-Actions/actions)The [arduino-test-compile action](https://github.com/marketplace/actions/test-compile-for-arduino) and script compiles all examples of an Arduino library or just multiple sketches from a repo for different boards with different compile switches.
This repo contains multiple [sample scripts](https://github.com/ArminJo/Github-Actions/tree/master/.github/workflows).
- [LibraryBuildWithSteps.yml](https://raw.githubusercontent.com/ArminJo/Github-Actions/master/.github/workflows/LibraryBuildWithSteps.yml) to compile the examples included.
- [LibraryBuildWithAction.yml](https://raw.githubusercontent.com/ArminJo/Github-Actions/master/.github/workflows/LibraryBuildWithAction.yml) uses the [ArminJo/arduino-test-compile@master](https://github.com/ArminJo/arduino-test-compile) action instead.
- [LibraryBuildWithScript](https://raw.githubusercontent.com/ArminJo/Github-Actions/master/.github/workflows/LibraryBuildWithScript) uses the [arduino-test-compile.sh](https://github.com/ArminJo/arduino-test-compile/blob/master/arduino-test-compile.sh) bash script instead.
- [test.yml](https://github.com/ArminJo/Github-Actions/master/.github/workflows/test.yml) for internal testing the script.# GitHub client integration
To enable my smartgit client to commit to the `.github/workflow` directory without errors, I had to create a new [**Personal access token**](https://github.com/settings/tokens) with repo and **workflow rights** and import it in my client. See also [GitHub documentation for personal access token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).# List of my GitHub workflows for Arduino libraries
## Libraries
| Name | Stars | Build Status | Release date | Commits since latest | # of build variants |
|-|-|-|-|-|-|
| [Arduino-BlueDisplay](https://github.com/ArminJo/Arduino-BlueDisplay) |  | [](https://github.com/ArminJo/Arduino-BlueDisplay/actions) |  | [](https://github.com/ArminJo/Arduino-BlueDisplay/commits/master) | 9 |
| [Arduino-FrequencyDetector](https://github.com/ArminJo/Arduino-FrequencyDetector) |  | [](https://github.com/ArminJo/Arduino-FrequencyDetector/actions)
[](https://github.com/ArminJo/Arduino-FrequencyDetector/actions) |  | [](https://github.com/ArminJo/Arduino-FrequencyDetector/commits/master) | 3 |
| [Arduino-Lessons-for-School](https://github.com/ArminJo/Arduino-Lessons-for-School) |  | [](https://github.com/ArminJo/Arduino-Lessons-for-School/actions) | | |
| [Arduino-Utils](https://github.com/ArminJo/Arduino-Utils) |  | [](https://github.com/ArminJo/Arduino-Utils/actions) |  | [](https://github.com/ArminJo/Arduino-Utils/commits/master) | 2 |
| [ATtinySerialOut](https://github.com/ArminJo/ATtinySerialOut) |  | [](https://github.com/ArminJo/ATtinySerialOut/actions) |  | [](https://github.com/ArminJo/ATtinySerialOut/commits/master) | 5 |
| [AVR Tracing](https://github.com/ArminJo/AvrTracing) |  | [](https://github.com/ArminJo/AvrTracing/actions) |  | [](https://github.com/ArminJo/AvrTracing/commits/master) | 1 |
| [Digistump](https://github.com/ArminJo/DigistumpArduino) |  | [](https://github.com/ArminJo/DigistumpArduino/actions)
[](https://github.com/ArminJo/DigistumpArduino/actions) |  | [](https://github.com/ArminJo/DigistumpArduino/commits/master) | 2 |
| [EasyButtonAtInt01](https://github.com/ArminJo/EasyButtonAtInt01) |  | [](https://github.com/ArminJo/EasyButtonAtInt01/actions) |  | [](https://github.com/ArminJo/EasyButtonAtInt01/commits/master) | 6 |
| [LightweightServo](https://github.com/ArminJo/LightweightServo) |  | [](https://github.com/ArminJo/LightweightServo/actions) |  | [](https://github.com/ArminJo/LightweightServo/commits/master) | 0 |
| [LCDBigNumbers](https://github.com/ArminJo/LCDBigNumbers) |  | [](https://github.com/ArminJo/LCDBigNumbers/actions) |  | [](https://github.com/ArminJo/LCDBigNumbers/commits/master) | 0 |
| [NeoPatterns](https://github.com/ArminJo/NeoPatterns) |  | [](https://github.com/ArminJo/NeoPatterns/actions) |  | [](https://github.com/ArminJo/NeoPatterns/commits/master) | 6 |
| [PlayRtttl](https://github.com/ArminJo/PlayRtttl) |  | [](https://github.com/ArminJo/PlayRtttl/actions) |  | [](https://github.com/ArminJo/PlayRtttl/commits/master) | 8 |
| [PWMMotorControl](https://github.com/ArminJo/PWMMotorControl) |  | [](https://github.com/ArminJo/PWMMotorControl/actions) |  | [](https://github.com/ArminJo/PWMMotorControl/commits/master) | 2 |
| [QuadrupedControl](https://github.com/ArminJo/QuadrupedControl) |  | [](https://github.com/ArminJo/QuadrupedControl/actions) |  | [](https://github.com/ArminJo/QuadrupedControl/commits/master) | 2 |
| [ServoEasing](https://github.com/ArminJo/ServoEasing) |  | [](https://github.com/ArminJo/ServoEasing/actions) |  | [](https://github.com/ArminJo/ServoEasing/commits/master) | 12 |
| [Talkie](https://github.com/ArminJo/Talkie) |  | [](https://github.com/ArminJo/Talkie/actions) |  | [](https://github.com/ArminJo/Talkie/commits/master) | 8 |## Maintaining
| Name | Stars | Build Status | Release date | Commits since latest | # of build variants |
|-|-|-|-|-|-|
| [DigitalWritefast](https://github.com/ArminJo/DigitalWritefast) |  | [](https://github.com/ArminJo/DigitalWritefast/actions) |  | [](https://github.com/ArminJo/DigitalWritefast/commits/master) | 6 |
| [IRMP](https://github.com/IRMP-org/IRMP) |  | [](https://github.com/IRMP-org/IRMP/actions) |  | [](https://github.com/IRMP-org/IRMP/commits/master) | 17 |
| [IRremote](https://github.com/Arduino-IRremote/Arduino-IRremote) |  | [](https://github.com/Arduino-IRremote/Arduino-IRremote/actions) |  | [](https://github.com/Arduino-IRremote/Arduino-IRremote/commits/master) | 26 |## Sketches
| Name | Stars | Build Status | Release date | Commits since latest | # of build variants |
|-|-|-|-|-|-|
| [Arduino-DTSU666H_PowerMeter](https://github.com/ArminJo/Arduino-DTSU666H_PowerMeter) |  | [](https://github.com/ArminJo/Arduino-DTSU666H_PowerMeter/actions) |  | [](https://github.com/ArminJo/Arduino-DTSU666H_PowerMeter/commits/master) | 2 |
| [Arduino-OpenWindowAlarm](https://github.com/ArminJo/Arduino-OpenWindowAlarm) |  | [](https://github.com/ArminJo/Arduino-OpenWindowAlarm/actions) |  | [](https://github.com/ArminJo/Arduino-OpenWindowAlarm/commits/master) | 2 |
| [Arduino-Simple-DSO](https://github.com/ArminJo/Arduino-Simple-DSO) |  | [](https://github.com/ArminJo/Arduino-Simple-DSO/actions) |  | [](https://github.com/ArminJo/Arduino-Simple-DSO/commits/master) | 1 |
| [iButtonProgrammer](https://github.com/ArminJo/iButtonProgrammer) |  | [](https://github.com/ArminJo/iButtonProgrammer/actions) |  | [](https://github.com/ArminJo/iButtonProgrammer/commits/master) | 1 |
| [JK-BMSToPylontechCAN](https://github.com/ArminJo/JK-BMSToPylontechCAN) |  | [](https://github.com/ArminJo/JK-BMSToPylontechCAN/actions) |  | [](https://github.com/ArminJo/JK-BMSToPylontechCAN/commits/master) | 3 |
| [OpenledRace](https://github.com/ArminJo/OpenledRace) |  | [](https://github.com/ArminJo/OpenledRace/actions) |  | [](https://github.com/ArminJo/OpenledRace/commits/master) | 1 |
| [RobotCar](https://github.com/ArminJo/Arduino-RobotCar) |  | [](https://github.com/ArminJo/Arduino-RobotCar/actions) |  | [](https://github.com/ArminJo/Arduino-RobotCar/commits/master) | 4 |
| [RobotArmControl](https://github.com/ArminJo/RobotArmControl) |  | [](https://github.com/ArminJo/RobotArmControl/actions) |  | [](https://github.com/ArminJo/RobotArmControl/commits/master) | 3 |
| [SBM-Info](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino) |  | [](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino/actions) |  | [](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino/commits/master) | 1 |
| [SimpleTouchScreenDSO](https://github.com/ArminJo/SimpleTouchScreenDSO) |  | [](https://github.com/ArminJo/SimpleTouchScreenDSO/actions) |  | [](https://github.com/ArminJo/SimpleTouchScreenDSO/commits/master) | 1 |
| [UltimateBatteryTester](https://github.com/ArminJo/Ultimate-Battery-Tester) |  | [](https://github.com/ArminJo/Ultimate-Battery-Tester/actions) |  | [](https://github.com/ArminJo/Ultimate-Battery-Tester/commits/master) | 3 |
| [ESP32-Cam-Sewer-inspection-car](https://github.com/ArminJo/ESP32-Cam-Sewer-inspection-car) |  | [](https://github.com/ArminJo/ESP32-Cam-Sewer-inspection-car/actions) |  | [](https://github.com/ArminJo/ESP32-Cam-Sewer-inspection-car/commits/master) | 1 |# QR codes for the repos above

Here the background story, why this action / repository was created:From Thursday 27.2.2020 21:00 CET out of the blue my Travis-CI account suddenly showed me **"build has errored" on every new commit**.
In the log file I could see *"Timeout waiting for network availability"* the username was [redacted].
With this account, however, I could see my old builds, which could all be restarted successfully.
After my support request the same evening, I only got a query, but despite answering, nothing happened.
The next day, after further inquiries (10:00 am + 1:00 pm), someone from America answered at 2:30 pm (8:30 am EST) with **"we are sorry about the hassle"**.
Fine!
But in the support email it said: *"I think you have made some changes to GitHub handle for the account [redacted]? ... Could you please confirm that you have made changes to account name?"*
After my answer *"I am sorry but I NEVER made any changes to my account. Not on Github nor at travis!!!"* **nothing happened**.
It seems that, if you don't pay money, you have to live with the fact that your account can be lost (forever?) :-(
So I invested 2 days to switch the CI to **GitHub Actions** and found that GitHub Actions run about **5 times faster** and of course are better integrated.Until now (10.3.2020) we had a lot of mail communication, but they were not able to fix the errors :-(.