Skip to content

Commit 392a840

Browse files
John Schulzv-ein
authored andcommitted
Added aarch64 check to PR build file.
1 parent 7e3b41c commit 392a840

1 file changed

Lines changed: 49 additions & 7 deletions

File tree

.github/workflows/EmbeddedBuild.yml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# DearSandbox.exe
6464

6565
build-MacOS:
66-
66+
6767
runs-on: MacOS-latest
6868
if: ${{! contains(github.event.head_commit.message, '[individual]') || contains(github.event.head_commit.message, '[apple]')}}
6969

@@ -74,7 +74,7 @@ jobs:
7474

7575
- name: Retrieve submodules
7676
run: git submodule update --init --recursive
77-
77+
7878
- name: Build Python
7979
run: |
8080
cd $GITHUB_WORKSPACE
@@ -95,8 +95,10 @@ jobs:
9595
cd ..
9696
cmake --build cmake-build-debug --config Debug
9797
98-
build-Ubuntu:
99-
98+
build-x64-Linux:
99+
100+
# Delete in the future
101+
name: build-Ubuntu
100102
runs-on: ubuntu-22.04
101103
env:
102104
CXX: g++-10
@@ -113,9 +115,49 @@ jobs:
113115
- name: Install Dependencies
114116
run: |
115117
cd $GITHUB_WORKSPACE
116-
sudo apt-get update
118+
sudo apt-get update
117119
sudo apt-get install libgl1-mesa-dev xorg-dev
118-
120+
121+
- name: Build Python
122+
run: |
123+
cd $GITHUB_WORKSPACE
124+
cd thirdparty/cpython
125+
mkdir -p build/debug
126+
chmod +x configure
127+
cd build/debug
128+
../../configure --with-pydebug --enable-shared
129+
make
130+
131+
- name: Build DearPyGui
132+
run: |
133+
cd $GITHUB_WORKSPACE
134+
mkdir cmake-build-debug
135+
cd cmake-build-debug
136+
cmake .. -DMV_TESTS_ONLY=True
137+
cd ..
138+
cmake --build cmake-build-debug --config Debug
139+
140+
build-aarch64-Linux:
141+
142+
runs-on: ubuntu-22.04-arm
143+
env:
144+
CXX: g++-10
145+
if: ${{! contains(github.event.head_commit.message, '[individual]') || contains(github.event.head_commit.message, '[linux]')}}
146+
147+
steps:
148+
149+
- name: Checkout
150+
uses: actions/checkout@v4
151+
152+
- name: Retrieve submodules
153+
run: git submodule update --init --recursive
154+
155+
- name: Install Dependencies
156+
run: |
157+
cd $GITHUB_WORKSPACE
158+
sudo apt-get update
159+
sudo apt-get install libgl1-mesa-dev xorg-dev
160+
119161
- name: Build Python
120162
run: |
121163
cd $GITHUB_WORKSPACE
@@ -133,4 +175,4 @@ jobs:
133175
cd cmake-build-debug
134176
cmake .. -DMV_TESTS_ONLY=True
135177
cd ..
136-
cmake --build cmake-build-debug --config Debug
178+
cmake --build cmake-build-debug --config Debug

0 commit comments

Comments
 (0)