mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 18:26:21 +02:00
github action test
This commit is contained in:
parent
17df96ed68
commit
72d678e32b
1 changed files with 34 additions and 14 deletions
48
.github/workflows/compile_development.yml
vendored
48
.github/workflows/compile_development.yml
vendored
|
@ -65,6 +65,13 @@ jobs:
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio run -d src -e ${{ matrix.variant }}
|
run: pio run -d src -e ${{ matrix.variant }}
|
||||||
|
|
||||||
|
- name: Create Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ahoydtu_dev
|
||||||
|
path: |
|
||||||
|
src/firmware/*
|
||||||
|
|
||||||
build-de:
|
build-de:
|
||||||
needs: check
|
needs: check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -116,12 +123,25 @@ jobs:
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio run -d src -e ${{ matrix.variant }}
|
run: pio run -d src -e ${{ matrix.variant }}
|
||||||
|
|
||||||
|
- name: Create Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ahoydtu_dev
|
||||||
|
path: |
|
||||||
|
src/firmware/*
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [build-en, build-de]
|
needs: [build-en, build-de]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Copy boot_app0.bin
|
#- name: Copy boot_app0.bin
|
||||||
run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin src/.pio/build/opendtufusion/ota.bin
|
# run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin src/.pio/build/opendtufusion/ota.bin
|
||||||
|
|
||||||
|
- name: Get Artifacts
|
||||||
|
- uses: actions/download-artifact@master
|
||||||
|
with:
|
||||||
|
name: ahoydtu_dev
|
||||||
|
path: src/firmware/*
|
||||||
|
|
||||||
- name: Rename Binary files
|
- name: Rename Binary files
|
||||||
id: rename-binary-files
|
id: rename-binary-files
|
||||||
|
@ -135,18 +155,18 @@ jobs:
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ steps.rename-binary-files.outputs.name }}
|
VERSION: ${{ steps.rename-binary-files.outputs.name }}
|
||||||
|
|
||||||
- name: Create Manifest
|
# - name: Create Manifest
|
||||||
working-directory: src
|
# working-directory: src
|
||||||
run: python ../scripts/buildManifest.py
|
# run: python ../scripts/buildManifest.py
|
||||||
|
#
|
||||||
- name: Create Artifact
|
# - name: Create Artifact
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: ahoydtu_dev
|
# name: ahoydtu_dev
|
||||||
path: |
|
# path: |
|
||||||
src/firmware/*
|
# src/firmware/*
|
||||||
src/User_Manual.md
|
# src/User_Manual.md
|
||||||
src/install.html
|
# src/install.html
|
||||||
|
|
||||||
- name: Rename firmware directory
|
- name: Rename firmware directory
|
||||||
run: mv src/firmware src/${{ steps.rename-binary-files.outputs.name }}
|
run: mv src/firmware src/${{ steps.rename-binary-files.outputs.name }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue