-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement plugin creation to godot 4.3 for rc3
- Loading branch information
1 parent
4a3cec5
commit 2ce9f7e
Showing
20 changed files
with
235 additions
and
77 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
example | ||
build | ||
build | ||
plugin | ||
python_files |
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
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use the official Ubuntu base image | ||
FROM ubuntu:22.04 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Update the package list and install necessary dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y python3 python3-pip | ||
|
||
RUN apt-get install gcc-multilib g++-multilib libc6-dev-i386 -y | ||
# Copy the local files into the container at /app | ||
COPY . /app | ||
|
||
# Install any additional dependencies using pip, if needed | ||
RUN pip3 install -r requirements.txt | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
CMD ["python3", "build.py", "--target_platform=linux32", "--compiler=gcc", "-run_tests=false", "-download_godot=false"] |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Use the official Ubuntu base image | ||
FROM ubuntu:22.04 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Update the package list and install necessary dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y python3 python3-pip mingw-w64 build-essential | ||
|
||
# Copy the local files into the container at /app | ||
COPY . /app | ||
|
||
# Install any additional dependencies using pip, if needed | ||
RUN pip3 install -r requirements.txt | ||
|
||
# Create a symbolic link for python to point to python3 | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
# Ensure the correct toolchain is used | ||
RUN ln -sf /usr/bin/i686-w64-mingw32-gcc /usr/bin/gcc-mingw && \ | ||
ln -sf /usr/bin/i686-w64-mingw32-g++ /usr/bin/g++-mingw32 && \ | ||
ln -sf /usr/bin/i686-w64-mingw32-ld /usr/bin/ld | ||
|
||
# Export LD environment variable to ensure 32-bit linker is used | ||
ENV LD=i686-w64-mingw32-ld | ||
|
||
# Ensure the correct PATH is set | ||
ENV PATH=/usr/local/bin:$PATH | ||
|
||
# Command to execute when the container starts | ||
CMD ["python3", "build.py", "--target_platform=windows32", "--compiler=g++-mingw32", "-run_tests=false", "-download_godot=false"]s |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[binaries] | ||
cpp = ['i686-w64-mingw32-g++'] | ||
|
||
[properties] | ||
is_mingw = true |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[binaries] | ||
cpp = ['g++'] |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.