You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [Unreleased]
9
9
### Added
10
+
- C++ definitions of `ARDUINO_CI_COMPILATION_MOCKS` and `ARDUINO_CI_GODMODE` to aid in compilation macros
11
+
-`CIConfig.available_override_config_path()` to search for available override files in standard locations
12
+
-`CIConfig.override_file_from_project_library` and `CIConfig.override_file_from_example` to expose config locations
13
+
- CI runner script now expliclty informs about config overrides
14
+
- A project `examples/` directory can now provide its own configuration override file, which provides no new flexibility but simply mirrors the behavior for `tests/`.
10
15
11
16
### Changed
17
+
-`CIConfig` now uses `Pathname` instead of strings
12
18
13
19
### Deprecated
14
20
15
21
### Removed
22
+
-`CIConfig.with_config`, which was only used internally
16
23
17
24
### Fixed
25
+
-`arduino_ci.rb --help` no longer crashes
18
26
19
27
- Fix missing `LED_BUILTIN` definition for Arduino Due, Zero and Circuit Playground.
28
+
- No longer ignore failures if the first step of compiling files for the unit test fails.
20
29
21
30
### Security
22
31
@@ -30,7 +39,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
30
39
- Support for `dtostrf()`
31
40
- Added a CI workflow to lint the code base
32
41
- Added a CI workflow to check for spelling errors
33
-
- Extraction of byes usage in a compiled sketch is now calculated in a method: `ArduinoBackend.last_bytes_usage`
42
+
- Extraction of bytes usage in a compiled sketch is now calculated in a method: `ArduinoBackend.last_bytes_usage`
34
43
- Added ```nano_every``` platform to represent ```arduino:megaavr``` architecture
35
44
- Working directory is now printed in test runner output
Fulfilling the `arduino_ci` library dependency is as easy as running either of these two commands:
121
+
Fulfilling the `arduino_ci` library dependency is as easy as running one or both of these commands:
122
122
123
123
```console
124
-
$ bundle install # adds packages to global library (may require admin rights)
125
-
$ bundle install --path vendor/bundle # adds packages to local library
124
+
$ bundle config set --local path 'vendor/bundle'# if you lack administrative privileges to install globally
125
+
$ bundle install
126
126
```
127
127
128
128
This will create a `Gemfile.lock` in your project directory, which you may optionally check into source control. A broader introduction to ruby dependencies is outside the scope of this document.
Copy file name to clipboardExpand all lines: REFERENCE.md
+5
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,11 @@ This allows a file (or glob) pattern to be executed in your tests directory, cre
44
44
This allows a file (or glob) pattern to be executed in your tests directory, creating a blacklist of files to skip. E.g. `--testfile-reject=test_animal_*.cpp` would match `test_animal_cat.cpp` and `test_animal_dog.cpp` (skipping those) and test only `test_plant_rose.cpp`, `test_plant_daisy.cpp`, etc.
45
45
46
46
47
+
### `--min-free-space` option
48
+
49
+
This specifies the minimum free SRAM memory for stack/heap, in bytes, that _must_ be leftover after compilation. This value applies globally -- to _all_ platforms that will be included in a test run.
50
+
51
+
47
52
### `CUSTOM_INIT_SCRIPT` environment variable
48
53
49
54
If set, testing will execute (using `/bin/sh`) the script referred to by this variable -- relative to the current working directory (i.e. the root directory of the library). The script will _run_ in the Arduino Libraries directory (changing to the Libraries directory, running the script, and returning to the individual library root afterward). This enables use cases like the GitHub action to install custom library versions (i.e. a version of a library that is different than what the library manager would automatically install by name) prior to CI test runs.
0 commit comments