Maxim Prokhorov
75b51f1e80
scripts: restore old build.sh and fixup release.sh generator
...
Leave build.sh as a local script, assume that CI will use the release.sh instead
Generator parser returned None at the end (...this is not rust...), also
fix args.* typos with a more declarative structure.
2021-06-08 13:22:25 +03:00
Maxim Prokhorov
74e18a59bc
scripts: update build.sh
...
- remove version handling, PIO already does this for us
- directly set generate_release_sh.py arguments instead of having a
getopt proxy for each one (and having to deal with short-arg support)
- slightly more logs for the build process
2021-06-07 03:54:47 +03:00
Maxim Prokhorov
3a34d555d5
ci: don't mention travis
2021-01-14 18:11:14 +03:00
Maxim Prokhorov
492a35926f
ci: rework build.sh & release.sh generator
...
- don't depend on TRAVIS environment variables
- depend on CI flag to add release variables
- chmod +x
2020-04-08 23:28:43 +03:00
Max Prokhorov
db50be91bc
PIO: fix env definitions (again) ( #2212 )
...
* base envs
* CI: speed up release process (since we still want some .bin files)
* fixup! CI: speed up release process (since we still want some .bin files)
* release dry run
* fixup! release dry run
* adjust
* fix .bin name
* it works
* minor cleanup for current git
* use pio suggestion about ldscript, reduce build_flags impact
* fix linker
* parse ${vars} instead of ignoring them
* add filtering and override file (sneak peak into tasmota's pio config)
* don't generate secure client (for now)
* formatting
* codacy
2020-04-07 21:20:32 +03:00
Xose Pérez
bc70dec09f
Beautify build script size output
2019-12-05 08:02:41 +01:00
Max Prokhorov
a2ada68d6e
Restore WebUI builds in travis ( #1953 )
...
* test: restore webui builds in travis
* show build.sh usage via -h, exclude build stage instead of explicitly including it
2019-10-22 17:07:52 +03:00
Max Prokhorov
c18490cc4a
PIO: pass APP_REVISION via extra scripts ( #1946 )
...
* utils/version: use git description token as version, add memoization
* pio: move extra scripts to a separate directory
* pio: add -DAPP_REVISION=... as local build flag
2019-10-16 14:41:43 +03:00
Max Prokhorov
1d133bee16
Build with platformio 4 ( #1805 )
...
- update file paths: .pioenvs -> .pio/build, .piolibdeps -> .pio/libdeps
- modify envs to use common settings
- enable shared libs in travis and ota scripts
2019-07-11 00:34:17 +03:00
Max Prokhorov
075b704d6c
Log in travis if webui files have changed
2019-06-04 09:26:40 +03:00
copyrights
08a4940344
fix path creation for firmware in build.sh ( #1753 )
2019-06-04 09:24:22 +03:00
Max Prokhorov
54c0bdcdf0
Proper string test, strip any tag
2018-12-12 04:33:44 +03:00
Max Prokhorov
c0b4ffac13
Always use -dev suffix
2018-12-11 19:47:17 +03:00
Jack Wilsdon
3d21404a67
Use correct arguments for stat on macOS
2018-11-18 20:05:54 +00:00
Xose Pérez
34c195b4c0
Option to specify destination folder for images generated by build.sh script
2018-08-27 10:49:38 +02:00
Xose Pérez
363227b22a
Merge pull request #1076 from mcspr/missing-env
...
Improve build.sh -ota envs detection
2018-07-26 08:00:11 +02:00
Maxim Prokhorov
25c7a00c24
Better filter for -ota envs
2018-07-25 19:35:35 +03:00
Maxim Prokhorov
13c051a097
Fix up build.sh error handling from #1008
...
* Change git detection to not accidentaly exit the shell
* Fix [ $par_build ] always being true
* Fix git-describe with shallow clone ("No tags can describe ...")
2018-07-25 19:20:43 +03:00
Xose Pérez
42b8efeb79
Recover size report in build script
2018-07-10 17:04:27 +02:00
Maxim Prokhorov
064080c560
Build script rework
2018-07-02 01:06:53 +03:00
Maxim Prokhorov
5fdf4aa53d
Separate test and release stages in travis
...
- Revert test to being serial. Releases are using parallel jobs.
- Some cosmetic changes in build.sh
2018-07-02 01:03:30 +03:00
Xose Pérez
6d28587047
Report binaries sizes on build script
2018-06-29 22:35:47 +02:00
Lazar Obradovic
87b456cb6a
Travis parallel builds
2018-06-26 20:37:38 +02:00
Xose Pérez
1c755cfb89
Pre-build the different available WebUI images
2018-06-22 20:19:39 +02:00
Xose Pérez
52ca64eded
Clean up builder files
2018-06-21 00:38:13 +02:00
Xose Pérez
09052376f5
Merge branch 'master' into dev
2018-04-23 12:22:40 +02:00
Lazar Obradovic
35be094244
build process should exit with non0 value on failure.
2018-04-10 23:52:39 +02:00
Xose Pérez
43af63b85d
Fix deploy branch check
2018-04-08 15:47:50 +02:00
Xose Pérez
6c18f96483
Add revision to web UI, populated by automated build script
2018-04-02 18:36:50 +02:00
Xose Pérez
7e691f0408
Build travis environments for non-master branches
2018-03-09 08:11:38 +01:00
Xose Pérez
7855d41991
Fix copy
2018-02-02 10:13:22 +01:00
Lazar Obradovic
023f70d203
lintfixes, try1
2018-01-12 15:00:46 +01:00
Xose Pérez
42847e53d8
Moving firmware images folder
2018-01-11 19:01:42 +01:00
Xose Pérez
98adb88f12
Add binary size to memanalyzer report
2018-01-04 10:35:20 +01:00
Xose Pérez
ecf542a2be
Remove non-stable builds from automatic builder
2017-11-26 06:27:11 +01:00
Xose Pérez
798341a785
Save firmware images in subfolders
2017-10-26 12:18:19 +02:00
Hermann Kraus
a4de1ddecf
Make building the web interface easier by automatically installing the dependencies.
2017-10-09 00:07:08 +02:00
Xose Pérez
226027116e
List available environments with build script
2017-08-27 18:57:01 +02:00
Xose Pérez
f34b12f99b
Dinamically get environments to build in build script
2017-08-25 23:51:42 +02:00
Xose Pérez
870168e287
Added EXS Wifi Relay to build script
2017-08-25 19:11:43 +02:00
Xose Pérez
2511b520b8
Untested support for WiOn 50055 Wifi Wall Outlet & Tap
2017-08-20 01:08:43 +02:00
Xose Pérez
55f529e65f
Fix and improve build script output
2017-08-19 18:23:36 +02:00
Xose Pérez
eb79642f2e
Major refactor of device flags
2017-08-19 16:40:32 +02:00
Xose Pérez
a780f5812f
Moved MQTT callback in Domoticz module
2017-08-19 16:30:28 +02:00