Skip to content

Commit 418e233

Browse files
authored
Add Github CI script
2 parents 381ced5 + 1635a88 commit 418e233

File tree

5 files changed

+76
-2
lines changed

5 files changed

+76
-2
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ESP32 Arduino Libs CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- release/*
8+
pull_request:
9+
10+
jobs:
11+
12+
build-libs:
13+
name: Build Arduino Libs
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v1
17+
- name: Install dependencies
18+
run: sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
19+
- name: Install Python Wheel
20+
run: pip install wheel
21+
- name: Build Arduino Libs
22+
env:
23+
TRAVIS_BUILD_DIR: ${{ github.workspace }}
24+
run: bash $TRAVIS_BUILD_DIR/build.sh

.travis.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
sudo: false
2+
language: python
3+
os:
4+
- linux
5+
6+
git:
7+
depth: false
8+
9+
addons:
10+
apt:
11+
packages:
12+
- git
13+
- wget
14+
- curl
15+
- libssl-dev
16+
- libncurses-dev
17+
- flex
18+
- bison
19+
- gperf
20+
- python
21+
- python-pip
22+
- python-setuptools
23+
- python-serial
24+
- python-click
25+
- python-cryptography
26+
- python-future
27+
- python-pyparsing
28+
- python-pyelftools
29+
- cmake
30+
- ninja-build
31+
- ccache
32+
33+
stages:
34+
- build
35+
36+
jobs:
37+
include:
38+
39+
- name: "Build Arduino Libs"
40+
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
41+
stage: build
42+
script: bash $TRAVIS_BUILD_DIR/build.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ESP32 Arduino Lib Builder
1+
#ESP32 Arduino Lib Builder [![Build Status](https://travis-ci.org/espressif/esp32-arduino-lib-builder.svg?branch=master)](https://travis-ci.org/espressif/esp32-arduino-lib-builder)
22

33
This repository contains the scripts that produce the libraries included with esp32-arduino.
44

sdkconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Automatically generated file; DO NOT EDIT.
33
# Espressif IoT Development Framework Configuration
44
#
5+
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000
56

67
#
78
# SDK tool configuration
@@ -272,6 +273,12 @@ CONFIG_FRMN2C_QUANT=
272273
#
273274
# ESP32-specific
274275
#
276+
CONFIG_ESP32_REV_MIN_0=y
277+
CONFIG_ESP32_REV_MIN_1=
278+
CONFIG_ESP32_REV_MIN_2=
279+
CONFIG_ESP32_REV_MIN_3=
280+
CONFIG_ESP32_REV_MIN=0
281+
CONFIG_ESP32_DPORT_WORKAROUND=y
275282
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
276283
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
277284
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=
@@ -386,6 +393,7 @@ CONFIG_DISABLE_BASIC_ROM_CONSOLE=
386393
CONFIG_ESP_TIMER_PROFILING=
387394
CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS=
388395
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
396+
CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5
389397

390398
#
391399
# Wi-Fi

tools/install-esp-idf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ -z "$IDF_PATH" ]; then
1616
cd $IDF_PATH
1717
git fetch origin && git pull origin $IDF_BRANCH
1818
git submodule update --init --recursive
19-
python -m pip install --user -r requirements.txt
19+
python -m pip install -r requirements.txt
2020
cd "$AR_ROOT"
2121
fi
2222

0 commit comments

Comments
 (0)