Skip to content

Commit 822c5ca

Browse files
committed
Unify bits, android_arch, macos_arch ios_arch into arch, support non-x86
Unify arguments and add support for ARM64 and RV64 Linux
1 parent 2eedcb0 commit 822c5ca

File tree

5 files changed

+254
-183
lines changed

5 files changed

+254
-183
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,27 @@ jobs:
2121
sudo apt-get update -qq
2222
sudo apt-get install -qqq build-essential pkg-config
2323
python -m pip install scons
24-
curl -LO https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_linux_server.64.zip
25-
unzip Godot_v3.4-stable_linux_server.64.zip
24+
curl -LO https://downloads.tuxfamily.org/godotengine/3.5/beta1/Godot_v3.5-beta1_linux_server.64.zip
25+
unzip Godot_v3.5-beta1_linux_server.64.zip
2626
2727
- name: Build godot-cpp
2828
run: |
29-
scons target=release generate_bindings=yes -j $(nproc)
29+
scons target=release platform=linux arch=x86_64 generate_bindings=yes -j $(nproc)
3030
3131
- name: Upload artifact
3232
uses: actions/upload-artifact@v2
3333
with:
3434
name: godot-cpp-linux-glibc2.27-x86_64-release
35-
path: bin/libgodot-cpp.linux.release.64.a
35+
path: bin/libgodot-cpp.linux.release.x86_64.a
3636
if-no-files-found: error
3737

3838
- name: Build test GDNative library
3939
run: |
40-
scons target=release platform=linux bits=64 -j $(nproc) -C test
40+
scons target=release platform=linux arch=x86_64 -j $(nproc) -C test
4141
4242
- name: Run test GDNative library
4343
run: |
44-
./Godot_v3.4-stable_linux_server.64 --path test -s script.gd
44+
./Godot_v3.5-beta1_linux_server.64 --path test -s script.gd
4545
4646
windows-msvc:
4747
name: Build (Windows, MSVC)
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/upload-artifact@v2
7070
with:
7171
name: godot-cpp-windows-msvc2019-x86_64-release
72-
path: bin/libgodot-cpp.windows.release.64.lib
72+
path: bin/libgodot-cpp.windows.release.x86_64.lib
7373
if-no-files-found: error
7474

7575
windows-mingw:
@@ -103,7 +103,7 @@ jobs:
103103
uses: actions/upload-artifact@v2
104104
with:
105105
name: godot-cpp-linux-mingw-x86_64-release
106-
path: bin/libgodot-cpp.windows.release.64.a
106+
path: bin/libgodot-cpp.windows.release.x86_64.a
107107
if-no-files-found: error
108108

109109
macos:
@@ -123,23 +123,23 @@ jobs:
123123
- name: Install dependencies
124124
run: |
125125
python -m pip install scons
126-
curl -LO https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_osx.universal.zip
127-
unzip Godot_v3.4-stable_osx.universal.zip
126+
curl -LO https://downloads.tuxfamily.org/godotengine/3.5/beta1/Godot_v3.5-beta1_osx.universal.zip
127+
unzip Godot_v3.5-beta1_osx.universal.zip
128128
129129
- name: Build godot-cpp
130130
run: |
131-
scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu)
131+
scons target=release platform=osx arch=universal -j $(sysctl -n hw.logicalcpu) generate_bindings=yes
132132
133133
- name: Upload artifact
134134
uses: actions/upload-artifact@v2
135135
with:
136136
name: godot-cpp-macos-universal-release
137-
path: bin/libgodot-cpp.osx.release.64.a
137+
path: bin/libgodot-cpp.osx.release.universal.a
138138
if-no-files-found: error
139139

140140
- name: Build test GDNative library
141141
run: |
142-
scons target=release platform=osx bits=64 macos_arch=universal -j $(sysctl -n hw.logicalcpu) -C test
142+
scons target=release platform=osx arch=universal -j $(sysctl -n hw.logicalcpu) -C test
143143
144144
- name: Run test GDNative library
145145
run: |

0 commit comments

Comments
 (0)