From 0e64056835039bc96db34356445b2e76dad3bf63 Mon Sep 17 00:00:00 2001 From: cicciocb Date: Thu, 28 Nov 2024 16:46:58 +0100 Subject: [PATCH 1/2] Create build.yml --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..d6c266ee8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build ESP32 Arduino Libraries + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get 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: Build libraries + run: | + ./build.sh -t esp32,esp32s2,esp32c3,esp32s3 -b build + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: esp32-arduino-libs + path: esp32-arduino-libs From b93451583432f6c253acd2ad63a5ecc3c4d1c2f6 Mon Sep 17 00:00:00 2001 From: cicciocb Date: Thu, 28 Nov 2024 16:51:00 +0100 Subject: [PATCH 2/2] Update build.yml Passed to uses: actions/upload-artifact@v4 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6c266ee8..caa92ae7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: ./build.sh -t esp32,esp32s2,esp32c3,esp32s3 -b build - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: esp32-arduino-libs path: esp32-arduino-libs