forked from CoretechR/OMOTE
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eccbd81
commit 5b24e7f
Showing
2 changed files
with
48 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ jobs: | |
|
||
- name: Build PlatformIO Project | ||
working-directory: ./Platformio | ||
run: pio run | ||
run: pio run --target esp32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,35 +3,60 @@ name: Simulator Build | |
on: [push] | ||
|
||
jobs: | ||
build-x64: | ||
|
||
runs-on: windows-latest | ||
build-ubuntu-x64: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cache/pip | ||
~/.platformio/.cache | ||
key: ${{ runner.os }}-pio | ||
- uses: actions/setup-python@v4 | ||
with: | ||
msbuild-architecture: x64 | ||
python-version: "3.9" | ||
- name: Install PlatformIO Core | ||
run: pip install --upgrade platformio | ||
|
||
# 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" | ||
- name: Install SDL2 | ||
run : sudo apt-get install -y libsdl2-dev | ||
|
||
build-x86: | ||
- name: Build PlatformIO Project | ||
working-directory: ./Platformio | ||
run: pio run --target x64sim | ||
|
||
runs-on: windows-latest | ||
|
||
# build-x64: | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
# runs-on: windows-latest | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
with: | ||
msbuild-architecture: x86 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Add msbuild to PATH | ||
# uses: microsoft/[email protected] | ||
# 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/[email protected] | ||
# with: | ||
# msbuild-architecture: x86 | ||
|
||
- name: Build | ||
working-directory: ./LVGL Simulator | ||
run: MSBuild.exe ./LVGL.Simulator.sln -target:Build /p:Platform="x86" | ||
# - name: Build | ||
# working-directory: ./LVGL Simulator | ||
# run: MSBuild.exe ./LVGL.Simulator.sln -target:Build /p:Platform="x86" |