diff --git a/.github/workflows/build-platformio.yml b/.github/workflows/build-platformio.yml new file mode 100644 index 0000000..4e1995c --- /dev/null +++ b/.github/workflows/build-platformio.yml @@ -0,0 +1,25 @@ +name: Build Omote Esp32 + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build PlatformIO Project + working-directory: ./Platformio + run: pio run diff --git a/.github/workflows/build-simulator.yml b/.github/workflows/build-simulator.yml new file mode 100644 index 0000000..510fd3c --- /dev/null +++ b/.github/workflows/build-simulator.yml @@ -0,0 +1,37 @@ +name: Build Omote Simulator + +on: [push] + +jobs: + build-x64: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + with: + msbuild-architecture: x64 + + # You can test your matrix by printing the current dotnet version + - name: Build + working-directory: ./LVGL Simulator + run: MSBuild.exe ./LVGL.Simulator.sln -target:Build /p:Platform="x64" + + build-x86: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + with: + msbuild-architecture: x86 + + - name: Build + working-directory: ./LVGL Simulator + run: MSBuild.exe ./LVGL.Simulator.sln -target:Build /p:Platform="x86" \ No newline at end of file diff --git a/LVGL Simulator/LVGL.Simulator/LVGL.Simulator.vcxproj b/LVGL Simulator/LVGL.Simulator/LVGL.Simulator.vcxproj index be10c4e..095b290 100644 --- a/LVGL Simulator/LVGL.Simulator/LVGL.Simulator.vcxproj +++ b/LVGL Simulator/LVGL.Simulator/LVGL.Simulator.vcxproj @@ -25,6 +25,12 @@ /utf-8 %(AdditionalOptions) LV_CONF_INCLUDE_SIMPLE;LV_LVGL_H_INCLUDE_SIMPLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) MinSpace + stdcpp17 + $(SolutionDir)..\Platformio\include\OmoteUI + $(SolutionDir)..\Platformio\include\OmoteUI + $(SolutionDir)..\Platformio\include\OmoteUI + stdcpp17 + stdcpp17