diff --git a/.github/workflows/platformio-ci.yml b/.github/workflows/platformio-ci.yml new file mode 100644 index 0000000..01a7e1f --- /dev/null +++ b/.github/workflows/platformio-ci.yml @@ -0,0 +1,29 @@ +# 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: Build PlatformIO + run: pio run --environment=$PIO_ENV + working-directory: ./firmware + env: + PIO_ENV: ${{ matrix.pio_env }} 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/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" 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