Add build.yml for ecosteno
This commit is contained in:
parent
f1615aab52
commit
c1e344899b
1 changed files with 35 additions and 0 deletions
35
.github/workflows/build.yml
vendored
Normal file
35
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: Setup Environment
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update system packages
|
||||
run: sudo apt-get update
|
||||
|
||||
- name: Install git and python3-pip
|
||||
run: sudo apt-get install -y git python3-pip
|
||||
|
||||
- name: Install qmk
|
||||
run: python -m pip install --user qmk
|
||||
|
||||
- name: Set up qmk
|
||||
run: qmk setup -y
|
||||
|
||||
- name: Check-out repo
|
||||
uses: "actions/checkout@v3"
|
||||
|
||||
- name: Copy head to keyboard folder of qmk
|
||||
run: cp -a /home/runner/work/Ecosteno-Firmware/Ecosteno-Firmware/. /home/runner/qmk_firmware/
|
||||
|
||||
- name: Build using make
|
||||
run: |
|
||||
cd /home/runner/qmk_firmware
|
||||
make noll/ecosteno:default
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Ecosteno Firmware Default
|
||||
path: /home/runner/qmk_firmware/noll_ecosteno_default.bin
|
||||
Loading…
Add table
Add a link
Reference in a new issue