Skip to content

Commit

Permalink
Update Build Step
Browse files Browse the repository at this point in the history
* Updated to use new version of PF-build.sh which uses flags
* Updated docker build image to v1.3
  • Loading branch information
vertigo235 committed Jan 21, 2022
1 parent 4c926cd commit 08ccc26
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ workspace:

steps:
- name: tests
image: vertigo235/fw-build
image: vertigo235/fw-build:1.3
commands:
- bash -x test.sh
when:
Expand All @@ -16,7 +16,7 @@ steps:
- pull_request

- name: build-a-bear
image: vertigo235/fw-build
image: vertigo235/fw-build:1.3
environment:
BUILD_TYPE: GOLD
commands:
Expand All @@ -28,17 +28,17 @@ steps:
- sed 's/#define CUSTOM_MENDEL_NAME "Prusa i3 MK3S"/#define CUSTOM_MENDEL_NAME "Prusa i3 MK3S BEAR"/' Firmware/variants/1_75mm_MK3S-EINSy10a-E3Dv6full.h > Firmware/variants/Bear_Cal_FW_MK3S-EINSy10a.h
- sed 's/#define CUSTOM_MENDEL_NAME "Prusa i3 MK2.5"/#define CUSTOM_MENDEL_NAME "Prusa i3 MK2.5S BEAR"/' Firmware/variants/1_75mm_MK25S-RAMBo10a-E3Dv6full.h > Firmware/variants/Bear_Cal_FW_MK25S-RAMBo10a.h
- sed 's/#define CUSTOM_MENDEL_NAME "Prusa i3 MK2.5"/#define CUSTOM_MENDEL_NAME "Prusa i3 MK2.5S BEAR"/' Firmware/variants/1_75mm_MK25S-RAMBo13a-E3Dv6full.h > Firmware/variants/Bear_Cal_FW_MK25S-RAMBo13a.h
- bash -x PF-build.sh Bear_Cal_FW_MK3S-EINSy10a.h ALL $BUILD_TYPE
- bash -x PF-build.sh Bear_Cal_FW_MK25S-RAMBo10a.h ALL $BUILD_TYPE
- bash -x PF-build.sh Bear_Cal_FW_MK25S-RAMBo13a.h ALL $BUILD_TYPE
- bash -x PF-build.sh -v Bear_Cal_FW_MK3S-EINSy10a.h -l ALL -d $BUILD_TYPE
- bash -x PF-build.sh -v Bear_Cal_FW_MK25S-RAMBo10a.h -l ALL -d $BUILD_TYPE
- bash -x PF-build.sh -v Bear_Cal_FW_MK25S-RAMBo13a.h -l ALL -d $BUILD_TYPE
when:
event:
- push
- tag
- pull_request

- name: prepare-hex
image: vertigo235/fw-build
image: vertigo235/fw-build:1.3
commands:
- cd $DRONE_WORKSPACE
- mkdir out
Expand All @@ -61,7 +61,7 @@ steps:
- build-a-bear

- name: transfersh
image: vertigo235/fw-build:1
image: vertigo235/fw-build:1.3
failure: ignore
commands:
- cd $DRONE_WORKSPACE/fileshare
Expand All @@ -76,7 +76,7 @@ steps:
- prepare-hex

- name: fileio
image: vertigo235/fw-build:1
image: vertigo235/fw-build:1.3
failure: ignore
commands:
- cd $DRONE_WORKSPACE/fileshare
Expand Down

0 comments on commit 08ccc26

Please sign in to comment.