Build #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |