Fix RPM filter error check with Direct Drive motors (#94) #6
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
name: Push-CI | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'RF-*' | |
env: | |
TARGETS: unified MATEKF405 MATEKF411 MATEKF722 MATEKH743 | |
jobs: | |
ci-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install ARM tools | |
run: make arm_sdk_install | |
- name: Set build variables | |
run: | | |
echo "GIT_VER=${GITHUB_SHA:0:7}" >> ${GITHUB_ENV} | |
cat ${GITHUB_ENV} | |
- name: Build HEX files for multiple targets | |
run: make ${{ env.TARGETS }} FC_VER_SUFFIX="${{ env.GIT_VER }}" FLASH_CONFIG_ERASE=yes | |
- name: Move HEX | |
run: mv -v obj/*.hex . | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rotorflight-CI-${{ env.GIT_VER }} | |
path: rotorflight*.hex | |