Add actions (#16)
* add platformIO build action Change-Id: I945ec3be82dbc862525bf81540e1c6ef267be476 * add simulator build actions including x64 and x86 build targets * remove metaproj used for debugging the actions Change-Id: Ifec6796326c1f41bd0209a152efa7bb0502a9af7 --------- Co-authored-by: Matthew Colvin <Matthew.Colvin@garmin.com>
This commit is contained in:
parent
4eb6590c58
commit
65d6eb96f2
3 changed files with 68 additions and 0 deletions
25
.github/workflows/build-platformio.yml
vendored
Normal file
25
.github/workflows/build-platformio.yml
vendored
Normal file
|
@ -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
|
37
.github/workflows/build-simulator.yml
vendored
Normal file
37
.github/workflows/build-simulator.yml
vendored
Normal file
|
@ -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"
|
|
@ -25,6 +25,12 @@
|
||||||
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
||||||
<PreprocessorDefinitions>LV_CONF_INCLUDE_SIMPLE;LV_LVGL_H_INCLUDE_SIMPLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>LV_CONF_INCLUDE_SIMPLE;LV_LVGL_H_INCLUDE_SIMPLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<Optimization Condition="'$(Configuration)'=='Release'">MinSpace</Optimization>
|
<Optimization Condition="'$(Configuration)'=='Release'">MinSpace</Optimization>
|
||||||
|
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdcpp17</LanguageStandard>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\Platformio\include\OmoteUI</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">$(SolutionDir)..\Platformio\include\OmoteUI</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\Platformio\include\OmoteUI</AdditionalIncludeDirectories>
|
||||||
|
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">stdcpp17</LanguageStandard>
|
||||||
|
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">stdcpp17</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<Import Project="LVGL.Portable.vcxitems" />
|
<Import Project="LVGL.Portable.vcxitems" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue