diff --git a/.github/workflows/create-board.yaml b/.github/workflows/create-board.yaml new file mode 100644 index 0000000..1c68a35 --- /dev/null +++ b/.github/workflows/create-board.yaml @@ -0,0 +1,38 @@ +name: Check All + +on: [ push, pull_request ] + +jobs: + build-firmware: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + 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 }} + diff --git a/revision.txt b/revision.txt new file mode 100644 index 0000000..74657b0 --- /dev/null +++ b/revision.txt @@ -0,0 +1,8 @@ +# make sure to increment revision BEFORE any changes to content + +BOARD_PREFIX=hellen +BOARD_SUFFIX=64_NA8_96 +BOARD_REVISION=b + +# does not affect fab files, only needed to have nice rendered preview +BOARD_PCB_OFFSET=0,0 diff --git a/step2_copy_hellen64_na8_96.sh b/step2_copy_hellen64_na8_96.sh deleted file mode 100644 index 1275a17..0000000 --- a/step2_copy_hellen64_na8_96.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -cd hellen-one -python2.7 ./bin/copy_from_Kicad.py "frames" "../.." "../../gerber" "64_NA8_96" "a" - -echo "Done!" diff --git a/step3_create_hellen64_na8_96.sh b/step3_create_hellen64_na8_96.sh deleted file mode 100644 index 56e74f8..0000000 --- a/step3_create_hellen64_na8_96.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cd hellen-one -sh bin/create_board.sh ".." "64_NA8_96" "a" "bom_replace_64_NA8_96-a.csv" "580,330"