change batt calib #11
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: Build | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Get required packages | |
- uses: actions/checkout@v2 | |
- uses: carlosperate/arm-none-eabi-gcc-action@v1 | |
with: | |
release: '9-2019-q4' | |
# Build with make | |
- name: make | |
env: | |
VARIANT: VARIANT_ADC | |
run: make | |
# Build with Platformio | |
- name: PlatformIO Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade platformio | |
- name: PlatformIO Run | |
run: pio run | |
- name: 'Upload Build Artifact' | |
uses: actions/upload-artifact@v3 | |
with: | |
path: ${{github.workspace}}/.pio/build/** | |
name: ${{github.event.repository.name}}_build_${{github.run_number}} | |
retention-days: 5 | |