From a44c6ca96c98d1f570556c32bd68c17495cdea66 Mon Sep 17 00:00:00 2001 From: SQ2CPA Date: Thu, 21 Mar 2024 13:02:14 +0100 Subject: [PATCH] chore: commit test build workflow --- .github/workflows/build.yml | 3 ++- .github/workflows/commit.yml | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/commit.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96bff3bb..0ae0da2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,8 @@ jobs: - "ttgo-t-beam-v1" - "ttgo-t-beam-v1_SX1268" - "ttgo-t-beam-v1_2_SX1262" - # - "heltec_wireless_stick_lite" # NOT FULLY TESTED + - "heltec_wireless_stick" + - "heltec_wireless_stick_lite" steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml new file mode 100644 index 00000000..c593327a --- /dev/null +++ b/.github/workflows/commit.yml @@ -0,0 +1,40 @@ +name: Commit Test Build + +on: + push: + branches: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: + - "ttgo-lora32-v21" + - "heltec-lora32-v2" + - "heltec_wifi_lora_32_V3" + - "ESP32_DIY_LoRa" + - "ESP32_DIY_1W_LoRa" + - "ttgo-t-beam-v1_2" + - "ttgo-t-beam-v1" + - "ttgo-t-beam-v1_SX1268" + - "ttgo-t-beam-v1_2_SX1262" + - "heltec_wireless_stick" + - "heltec_wireless_stick_lite" + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build target + run: pio run -e ${{ matrix.target }} + + - name: Build FS + run: pio run --target buildfs -e ${{ matrix.target }} \ No newline at end of file