-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 880 Bytes
/
Build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Apt update
run: sudo apt update
- name: Apt install esp-idf dependencies
run: sudo apt install -y git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
- name: Checkout esp-idf
run: git clone -b v4.4 --recurse-submodules -j8 https://github.com/espressif/esp-idf.git
- name: Install esp-idf
run: ./esp-idf/install.sh
- name: Checkout repository
run: git clone --recurse-submodules https://github.com/SCVready/co2-sensor-apple-homekit
- name: Build
working-directory: co2-sensor-apple-homekit
run: . ../esp-idf/export.sh; idf.py build