-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/generate-schematic-pdfs-in-build' into 'master'
Feature/generate schematic pdfs in build /tag v0.0.5 "Added the ability to generate schematic PDFs in the gitlab and travis-ci builds." See merge request dowster/e28-cluster!2
- Loading branch information
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,30 @@ | ||
# Currently using IDF v4.0 supplied from Espressif. | ||
image: espressif/idf:release-v4.0 | ||
|
||
|
||
# Since I have at least one submodule in this project I want to make sure it's cloned. | ||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
|
||
build: | ||
build-code: | ||
# Currently using IDF v4.0 supplied from Espressif. | ||
image: espressif/idf:release-v4.0 | ||
stage: build | ||
script: | ||
- cd code | ||
- idf.py build | ||
- tar -zcf ../e28-cluster-${CI_COMMIT_REF_SLUG}-${CI_CONCURRENT_PROJECT_ID}.tar.gz build | ||
- tar -zcf ../e28-cluster-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.tar.gz build | ||
artifacts: | ||
paths: | ||
- e28-cluster-*.tar.gz | ||
- code/build/partition_table/partition-table.bin | ||
- code/build/bootloader/bootloader.bin | ||
- code/build/e28-cluster.bin | ||
|
||
build-schematics: | ||
stage: build | ||
image: registry.gitlab.com/dowster/eeshow:latest | ||
script: | ||
- cd pcb-design | ||
- eeplot -o ../pcb-design-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.pdf schematic.pro | ||
artifacts: | ||
paths: | ||
- pcb-design-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters