-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(heater-shaker): create release with assets on tag push (#309)
* added some initial firmware * completed callback sequence and added gcode sequence for turning on individual LEDs * updated systemwide for use in c++ and c files * updated c array to std array, system_wide variables, and debug fixes * removed implemented SysTick_Handler * fixed up initializations and added function to test turning all LEDs on at startup * debug updates to test * added clearing of the LED driver shutdown register, all LEDs tested positively * commented current and pwm static values * LED I2C now using FreeRTOS take and give notification * refactored, cleaned up, and added blinking functionality * added LED message hooks * white LED only on left and red LED only on right * cleanup and fixes * cleanup * eliminated RCC resetting at SystemInit * tidied up some code and wrote most tests * updated tests, simulator, and formatted * formatted some tests * eliminated space to make systemide.h identical to initial merge candidate * initial action commit * removed unecessary steps and updated references * added automated changelog generator * updated release note auto-genration * updated release note auto-generation * semantics * removed release note auto-generation * in process of creating zip * updated yaml * updated install dir * fixed non-updating tag versions * updated set_build_vars * populated TRAVIS_TAG in .yaml * one more update to .yaml * update to trigger on tag creation * run action on release publish * reverted trigger * reverted trigger to original
- Loading branch information
1 parent
c652947
commit 377f2d8
Showing
5 changed files
with
87 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: 'Heater-shaker create release from tag' | ||
on: | ||
push: | ||
tags: | ||
- 'heater-shaker@*' | ||
workflow_dispatch: | ||
|
||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
|
||
jobs: | ||
cross-compile-check-and-release: | ||
name: 'Cross-Compile/Check and Create Release' | ||
runs-on: 'ubuntu-20.04' | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
with: | ||
fetch-depth: 0 | ||
- uses: 'actions/cache@v2' | ||
with: | ||
key: stm32-cross-${{ secrets.MODULES_STM32_CACHE_VERSION }}-${{ hashFiles('cmake/*') }} | ||
restore-keys: stm32-cross-${{ secrets.MODULES_STM32_CACHE_VERSION }}- | ||
path: './stm32-tools' | ||
- name: 'Configure' | ||
run: cmake --preset=stm32-cross . | ||
- name: 'Build' | ||
run: cmake --build ./build-stm32-cross --target heater-shaker-hex | ||
- name: 'Build Combo Image Hex' | ||
run: cmake --build ./build-stm32-cross --target heater-shaker-image-hex | ||
- name: 'Build Combo Image Binary' | ||
run: cmake --build ./build-stm32-cross --target heater-shaker-image-bin | ||
- name: 'Build Combo Image Zip' | ||
run: cmake --build ./build-stm32-cross --target heater-shaker-zip | ||
- name: 'Prep for install' | ||
run: cmake --install ./build-stm32-cross | ||
- if: github.event_name != 'pull_request' | ||
name: 'Deploy' | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.S3_MODULES_DEPLOY_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_MODULES_DEPLOY_SECRET }} | ||
AWS_DEFAULT_REGION: us-east-2 | ||
TRAVIS_TAG: ${{ github.ref_name }} | ||
run: | | ||
. ./scripts/set_build_vars.sh | ||
aws s3 sync --acl=public-read ${RELEASE_LOCAL_DIR} s3://opentrons-modules-builds/${RELEASE_UPLOAD_DIR} |
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
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
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
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