Skip to content

Sync lwipopts.h with opts.h from lwip v2.1.3 (#65) #26

Sync lwipopts.h with opts.h from lwip v2.1.3 (#65)

Sync lwipopts.h with opts.h from lwip v2.1.3 (#65) #26

Workflow file for this run

name: CMake build
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: repo
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- uses: actions/cache@v3
with:
path: |
build/_deps/lwip2-src
build/_deps/lwip2-subbuild
esp8266/tools/dist
key: ${{ runner.os }}-cmake-${{ hashFiles('repo/CMakeLists.txt', 'repo/cmake/*.cmake') }}
- name: Fetch ESP8266 Core
uses: actions/checkout@v3
with:
path: esp8266
repository: esp8266/Arduino
fetch-depth: 1
submodules: false
- name: Get toolchain files
run: |
cd esp8266/tools
python get.py -q
- name: Build
env:
ESP8266_ARDUINO_CORE_DIR: ${{ github.workspace }}/esp8266
run: |
cmake \
--toolchain=${{ github.workspace }}/repo/cmake/toolchain-esp8266.cmake \
-DCMAKE_PROGRAM_PATH=${ESP8266_ARDUINO_CORE_DIR}/tools/xtensa-lx106-elf/bin \
-DESP8266_ARDUINO_CORE_DIR=${ESP8266_ARDUINO_CORE_DIR} \
-S repo \
-B build
cmake --build build/ --parallel $(nproc)