testing automation
This commit is contained in:
parent
c671435972
commit
561be61927
|
@ -1,38 +1,9 @@
|
||||||
name: Check All
|
name: Create Board
|
||||||
|
|
||||||
on: [ push, pull_request ]
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-firmware:
|
call-workflow-passing-data:
|
||||||
runs-on: ubuntu-latest
|
uses: andreika-git/hellen-one/.github/workflows/create-board.yaml@master
|
||||||
|
permissions:
|
||||||
steps:
|
contents: write
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: 1. Build Docker
|
|
||||||
run: |
|
|
||||||
bash hellen-one/bin/step1_build_hellen-one_docker.sh
|
|
||||||
|
|
||||||
- name: 2. Copy
|
|
||||||
run: |
|
|
||||||
bash hellen-one/bin/step2_copy_with_docker.sh
|
|
||||||
|
|
||||||
- name: 3. Create Board
|
|
||||||
run: |
|
|
||||||
bash hellen-one/bin/step3_create_board_with_docker.sh
|
|
||||||
|
|
||||||
- name: Commit fresh board files
|
|
||||||
env:
|
|
||||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
|
||||||
run: |
|
|
||||||
bash hellen-one/bin/gha-commit.sh
|
|
||||||
|
|
||||||
- name: Push board files
|
|
||||||
if: ${{env.NOCOMMIT != 'true'}}
|
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ github.token }}
|
|
||||||
branch: ${{ steps.extract_branch.outputs.branch }}
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
BOARD_PREFIX=alphax_
|
BOARD_PREFIX=alphax_
|
||||||
BOARD_SUFFIX=2ch
|
BOARD_SUFFIX=2ch
|
||||||
BOARD_REVISION=g
|
BOARD_REVISION=g-automation-test
|
||||||
|
|
||||||
# does not affect fab files, only needed to have nice rendered preview
|
# does not affect fab files, only needed to have nice rendered preview
|
||||||
BOARD_PCB_OFFSET=0,596
|
BOARD_PCB_OFFSET=0,596
|
||||||
|
|
Loading…
Reference in New Issue