17 Commits

Author SHA1 Message Date
2f69932ef7 add depth submodule update 2025-03-31 17:04:37 +07:00
859abbe177 Update github action to recursive submodules when checkout 2025-03-26 17:41:49 +07:00
f9be400a5d Address PR comments on versions 2025-02-15 15:28:17 -06:00
a50e1e2472 Update workflow to use compile-sketches action
Instead of straight CLI, uses the arduino/compile-sketches action.

One immediate benefit is enabling deltas reports
https://github.com/arduino/compile-sketches/tree/v1.1.2/?tab=readme-ov-file#enable-deltas-report

This can show the change in flash and ram compared to the previous run
https://github.com/MallocArray/arduino/actions/runs/12954136400/job/36135424360
```
Compiling sketch: examples/OneOpenAir
Compilation time elapsed: 6s
Change in flash: 147290 (7.49%)
Change in RAM for global variables: 2280 (0.7%)
```

A future improvement could be to also add https://github.com/arduino/report-size-deltas that can generate a comment on a PR that also shows the delta information.
2025-01-25 13:39:25 -06:00
bfd20a73da Rename board type 3.7 to 3.3 2024-06-25 16:43:50 +07:00
0119a4d62a Add support board DIY Pro 3.7 and add example 2024-06-20 11:34:23 +07:00
a11eaea532 [fix] build fail on example BASIC 2024-06-18 19:59:29 +07:00
bc3872e631 fix github workflows build fail and platformio multiple project build 2024-04-30 20:28:34 +07:00
7d68b02f76 Remove example ONE.ino and OpenAir.ino 2024-04-01 09:18:25 +07:00
d255e6ad04 Update workflows for OneOpenAir 2024-03-24 07:45:32 +07:00
99b4858f1d Merge pull request #72 from airgradienthq/develop
Develop: update workflows build configure
2024-03-03 21:57:41 +07:00
4374c980ec Update workflows example build configure 2024-03-03 21:51:53 +07:00
ded7637b06 Update workflows example build configure 2024-03-03 21:47:50 +07:00
6a79ab6b5b Update workflows example build configure 2024-03-03 21:46:07 +07:00
8fcf257726 Fix check workflow failing on pull requests
This fixes the following check GitHub Actions workflow failure that
would otherwise occur on pull requests (but not on pushes/branches):

  Error installing Git Library: Library install failed: object not found
2024-02-29 23:52:36 +00:00
a59d5a1bb8 Update check.yml
Adjusted new name for example files
2024-02-29 20:05:16 +07:00
8c8e0d4dea Add compile check GitHub Actions workflow
This commit adds a GitHub Actions workflow that, on every push/pull
request, will check that every single example successfully compiles on
every board it supports. That is, it it will check compilation on:

- ESP8266 for BASIC_v4, TestCO2, TestPM and TestSht
- ESP32 for ONE_I-9PSL, Open_Air, TestCO2, TestPM and TestSht

This provides the first building block towards a Continuous Integration
(CI) pipeline and prevents build breakages from making it to master.

Ideally this should also run tests on the examples (i.e. verifying that
the example boots successfully and sends metrics), but for now this will
at least ensure the build is not obviously broken.
2024-02-25 12:12:16 +00:00