mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-16 01:58:47 +01:00
use release env in ci build
This commit is contained in:
@@ -22,8 +22,8 @@ firmware:
|
|||||||
script:
|
script:
|
||||||
- mv data/example.config.json data/config.json
|
- mv data/example.config.json data/config.json
|
||||||
- pio run -t clean
|
- pio run -t clean
|
||||||
- pio run
|
- pio run -e release
|
||||||
- pio run -t buildfs
|
- pio run -e release -t buildfs
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
@@ -33,8 +33,8 @@ release:
|
|||||||
script:
|
script:
|
||||||
- pip install awscli
|
- pip install awscli
|
||||||
- mkdir -p ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
- mkdir -p ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
||||||
- mv .pioenvs/build/firmware.bin ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
- mv .pioenvs/release/firmware.bin ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
||||||
- mv .pioenvs/build/spiffs.bin ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
- mv .pioenvs/release/spiffs.bin ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
||||||
- aws s3 --endpoint-url=https://$DO_SPACE_ENDPOINT cp ./ s3://$S3_BUCKET_NAME/ --recursive --exclude "*" --include "*.bin"
|
- aws s3 --endpoint-url=https://$DO_SPACE_ENDPOINT cp ./ s3://$S3_BUCKET_NAME/ --recursive --exclude "*" --include "*.bin"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ framework = ${common.framework}
|
|||||||
build_flags = -Wl,-Teagle.flash.4m1m.ld
|
build_flags = -Wl,-Teagle.flash.4m1m.ld
|
||||||
-DSPROCKET_PRINT=0
|
-DSPROCKET_PRINT=0
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
https://gitlab.com/wirelos/sprocket-core.git#master
|
https://gitlab.com/wirelos/sprocket-core.git#develop
|
||||||
|
|
||||||
|
|
||||||
[env:nodemcu]
|
[env:nodemcu]
|
||||||
|
|||||||
Reference in New Issue
Block a user