From e72fd94333006ffa5980c7199093c7a2e4ccd3c0 Mon Sep 17 00:00:00 2001 From: botamochi6277 Date: Wed, 24 Jun 2026 23:34:11 +0900 Subject: [PATCH 1/6] Add ci actions for building test --- .github/workflows/platformio-ci.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/platformio-ci.yml diff --git a/.github/workflows/platformio-ci.yml b/.github/workflows/platformio-ci.yml new file mode 100644 index 0000000..14b38d5 --- /dev/null +++ b/.github/workflows/platformio-ci.yml @@ -0,0 +1,32 @@ +# CI documents: https://docs.platformio.org/en/latest/integration/ci/github-actions.html#integration +name: PlatformIO CI + +on: [push] + +jobs: + build-simple: + runs-on: ubuntu-latest + strategy: + matrix: + pio_env: ["m5stack-core2-realtime", "m5stack-cores3-realtime"] + steps: + - uses: actions/checkout@v6 + - uses: actions/cache@v5 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v6 + with: + python-version: '3.11' + - name: Install PlatformIO Core + run: pip install --upgrade platformio + - name: Move to firmware folder + run: cd firmware + - name: Build PlatformIO + run: pio run --environment=$PIO_ENV + env: + PIO_ENV: ${{ matrix.pio_env }} + + From 1701e1fc9a895c3011613fa70b213a0f3f1feeb1 Mon Sep 17 00:00:00 2001 From: botamochi6277 Date: Thu, 25 Jun 2026 00:01:49 +0900 Subject: [PATCH 2/6] Change building steps --- .github/workflows/platformio-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/platformio-ci.yml b/.github/workflows/platformio-ci.yml index 14b38d5..4a4cb8d 100644 --- a/.github/workflows/platformio-ci.yml +++ b/.github/workflows/platformio-ci.yml @@ -22,10 +22,8 @@ jobs: python-version: '3.11' - name: Install PlatformIO Core run: pip install --upgrade platformio - - name: Move to firmware folder - run: cd firmware - name: Build PlatformIO - run: pio run --environment=$PIO_ENV + run: cd firmware && pio run --environment=$PIO_ENV env: PIO_ENV: ${{ matrix.pio_env }} From 53d9595c857de464b41ef6c69639468a17ee4b2e Mon Sep 17 00:00:00 2001 From: botamochi6277 Date: Thu, 25 Jun 2026 00:20:32 +0900 Subject: [PATCH 3/6] Set working directory --- .github/workflows/platformio-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/platformio-ci.yml b/.github/workflows/platformio-ci.yml index 4a4cb8d..7dcde82 100644 --- a/.github/workflows/platformio-ci.yml +++ b/.github/workflows/platformio-ci.yml @@ -23,7 +23,8 @@ jobs: - name: Install PlatformIO Core run: pip install --upgrade platformio - name: Build PlatformIO - run: cd firmware && pio run --environment=$PIO_ENV + run: pio run --environment=$PIO_ENV + working-directory: ./firmware env: PIO_ENV: ${{ matrix.pio_env }} From 1e55daa337a06c04fc4683da53ec0ca0fbbdc793 Mon Sep 17 00:00:00 2001 From: botamochi6277 Date: Thu, 25 Jun 2026 07:26:53 +0900 Subject: [PATCH 4/6] Formatting yaml --- .github/workflows/platformio-ci.yml | 36 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/.github/workflows/platformio-ci.yml b/.github/workflows/platformio-ci.yml index 7dcde82..01a7e1f 100644 --- a/.github/workflows/platformio-ci.yml +++ b/.github/workflows/platformio-ci.yml @@ -10,22 +10,20 @@ jobs: matrix: pio_env: ["m5stack-core2-realtime", "m5stack-cores3-realtime"] steps: - - uses: actions/checkout@v6 - - uses: actions/cache@v5 - with: - path: | - ~/.cache/pip - ~/.platformio/.cache - key: ${{ runner.os }}-pio - - uses: actions/setup-python@v6 - with: - python-version: '3.11' - - name: Install PlatformIO Core - run: pip install --upgrade platformio - - name: Build PlatformIO - run: pio run --environment=$PIO_ENV - working-directory: ./firmware - env: - PIO_ENV: ${{ matrix.pio_env }} - - + - uses: actions/checkout@v6 + - uses: actions/cache@v5 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v6 + with: + python-version: "3.11" + - name: Install PlatformIO Core + run: pip install --upgrade platformio + - name: Build PlatformIO + run: pio run --environment=$PIO_ENV + working-directory: ./firmware + env: + PIO_ENV: ${{ matrix.pio_env }} From 67729ec40924985b1b23b15f60ea9b7c871583ed Mon Sep 17 00:00:00 2001 From: botamochi6277 Date: Thu, 25 Jun 2026 07:37:13 +0900 Subject: [PATCH 5/6] Fix header name --- firmware/src/mod/QRdisplay/QRdisplayMod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/src/mod/QRdisplay/QRdisplayMod.h b/firmware/src/mod/QRdisplay/QRdisplayMod.h index bc1d396..cac39c5 100644 --- a/firmware/src/mod/QRdisplay/QRdisplayMod.h +++ b/firmware/src/mod/QRdisplay/QRdisplayMod.h @@ -1,7 +1,7 @@ #ifndef _QR_DISPLAY_MOD_H #define _QR_DISPLAY_MOD_H -#include +#include #include "mod/ModBase.h" From 007d953699edcbd9c185f13a1b70dcc9d581225c Mon Sep 17 00:00:00 2001 From: ronron-gh Date: Sun, 28 Jun 2026 16:06:12 +0900 Subject: [PATCH 6/6] Add CI badge to README --- README.md | 2 ++ README_en.md | 2 ++ firmware/src/share/Version.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d7c980..7e4544b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ [English](README_en.md) # AI Stack-chan Ex +[![PlatformIO CI](https://github.com/ronron-gh/AI_StackChan_Ex/actions/workflows/platformio-ci.yml/badge.svg)](https://github.com/ronron-gh/AI_StackChan_Ex/actions/workflows/platformio-ci.yml) + robo8080さんの[AIスタックチャン](https://github.com/robo8080/AI_StackChan2)をベースに、次のように機能拡張しています。 - AI機能の拡張 - Module LLM(M5Stackの拡張モジュール)によるAI会話機能の完全ローカル化 diff --git a/README_en.md b/README_en.md index 0cc118b..eff5868 100644 --- a/README_en.md +++ b/README_en.md @@ -1,6 +1,8 @@ [日本語](README.md) # AI Stack-chan Ex +[![PlatformIO CI](https://github.com/ronron-gh/AI_StackChan_Ex/actions/workflows/platformio-ci.yml/badge.svg)](https://github.com/ronron-gh/AI_StackChan_Ex/actions/workflows/platformio-ci.yml) + Based on robo8080's [AI Stack-chan](https://github.com/robo8080/AI_StackChan2), we have added the following functions. - Expanding AI capabilities - Full localization of AI conversation functions using Module LLM (an expansion module for M5Stack) diff --git a/firmware/src/share/Version.h b/firmware/src/share/Version.h index c5feb83..0b242b6 100644 --- a/firmware/src/share/Version.h +++ b/firmware/src/share/Version.h @@ -1,6 +1,6 @@ #ifndef _VERSION_H #define _VERSION_H -#define FW_VERSION "0.22.0" +#define FW_VERSION "0.22.1" #endif \ No newline at end of file