Skip to content

Commit

Permalink
移除dev后缀,readme添加说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Daylily-Zeleen committed Apr 13, 2024
1 parent cb358e5 commit 65bd442
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 23 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,112 +16,96 @@ jobs:
name: 🐧 Linux x64 Debug
runner: ubuntu-20.04
target: template_debug
dev_build: yes
platform: linux
arch: x86_64
- identifier: linux-x64-release
name: 🐧Linux x64 Release
runner: ubuntu-20.04
target: template_release
dev_build: no
platform: linux
arch: x86_64
- identifier: macos-universal-debug
name: 🍎 macOS (universal) Debug
runner: macos-latest
target: template_debug
dev_build: yes
platform: macos
arch: universal
- identifier: macos-universal-release
name: 🍎 macOS (universal) Release
runner: macos-latest
target: template_release
dev_build: no
platform: macos
arch: universal
- identifier: windows-x64-debug
name: 🏁 Windows x64 Debug
runner: windows-latest
target: template_debug
dev_build: yes
platform: windows
arch: x86_64
- identifier: windows-x64-release
name: 🏁 Windows x64 Release
runner: windows-latest
target: template_release
dev_build: no
platform: windows
arch: x86_64
- identifier: windows-x86-debug
name: 🏁 Windows x86 Debug
runner: windows-latest
target: template_debug
dev_build: yes
platform: windows
arch: x86_32
- identifier: windows-x86-release
name: 🏁 Windows x86 Release
runner: windows-latest
target: template_release
dev_build: no
platform: windows
arch: x86_32
- identifier: android-arm64-debug
name: 🤖 Android arm64 Debug
runner: ubuntu-20.04
target: template_debug
dev_build: yes
platform: android
arch: arm64
- identifier: android-arm64-release
name: 🤖 Android arm64 Release
runner: ubuntu-20.04
target: template_release
dev_build: no
platform: android
arch: arm64
- identifier: android-x86_64-debug
name: 🤖 Android x86_64 Debug
runner: ubuntu-20.04
target: template_debug
dev_build: yes
platform: android
arch: x86_64
- identifier: android-x86_64-release
name: 🤖 Android x86_64 Release
runner: ubuntu-20.04
target: template_release
dev_build: no
platform: android
arch: x86_64
- identifier: android-arm32-debug
name: 🤖 Android arm32 Debug
runner: ubuntu-20.04
target: template_debug
dev_build: yes
platform: android
arch: arm32
- identifier: android-arm32-release
name: 🤖 Android arm32 Release
runner: ubuntu-20.04
target: template_release
dev_build: no
platform: android
arch: arm32
- identifier: android-x86_32-debug
name: 🤖 Android x86_32 Debug
runner: ubuntu-20.04
target: template_debug
dev_build: yes
platform: android
arch: x86_32
- identifier: android-x86_32-release
name: 🤖 Android x86_32 Release
runner: ubuntu-20.04
target: template_release
dev_build: no
platform: android
arch: x86_32

Expand Down Expand Up @@ -210,7 +194,7 @@ jobs:
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
SCONS_CACHE_LIMIT: 7168
run: |
scons target='${{ matrix.target }}' platform='${{ matrix.platform }}' arch='${{ matrix.arch }}' dev_build='${{ matrix.dev_build }}'
scons target='${{ matrix.target }}' platform='${{ matrix.platform }}' arch='${{ matrix.arch }}'
- name: Copy extra files to addon folder
shell: sh
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This project is cost a lot of time and effort, if it can help you, please [buy m
- For debug build:

``` shell
scons platform=windows target=template_debug dev_build=yes
scons platform=windows target=template_debug debug_symbols=yes
```

- For release build:
Expand All @@ -120,8 +120,13 @@ This project is cost a lot of time and effort, if it can help you, please [buy m
```

More detail of compile commands, please refer to godot-cpp's compile system.
**If you change the output library name by using compile options, please modify "demo/addons/gd-eos/gdeos.gdextension" to fit your library name.**
5. Last, you can get the compiled addon which is localed at "demo/addons/gd-eos/".

## **Known issues**

1. If you want to use overlay (only available for Windows), pay attention to the settings of the renderer.

## **Cautious**

This repo is lack of testing. Don't use this for your release project.
Expand Down
7 changes: 6 additions & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
- For debug build:

``` shell
scons platform=windows target=template_debug dev_build=yes
scons platform=windows target=template_debug debug_symbols=yes
```

- For release build:
Expand All @@ -120,8 +120,13 @@
```

关于更多编译命令的细节,请参考 godot-cpp 的编译系统。
**如果你使用了其他将改变库名编译选项,注意修改"demo/addons/gd-eos/gdeos.gdextension"中相应的库名。**
5. 在编译完成后,你将在 "demo/addons/gd-eos/"获得该插件。

## **已知注意事项**

1. 如果你要使用覆层(仅Windows可用),要注意渲染器的设置。

## **注意**

该仓库缺乏测试,请不要用于你的发布项目中。
Expand Down
6 changes: 3 additions & 3 deletions demo/addons/gd-eos/gdeos.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ entry_symbol = "gdeos_library_init"
compatibility_minimum = 4.2

[libraries]
linux.x86_64.debug = "bin/linux/libgdeos.linux.template_debug.dev.x86_64.so"
linux.x86_64.debug = "bin/linux/libgdeos.linux.template_debug.x86_64.so"
linux.x86_64.release = "bin/linux/libgdeos.linux.template_release.x86_64.so"
windows.x86_64.debug = "bin/windows/libgdeos.windows.template_debug.dev.x86_64.dll"
windows.x86_64.debug = "bin/windows/libgdeos.windows.template_debug.x86_64.dll"
windows.x86_64.release = "bin/windows/libgdeos.windows.template_release.x86_64.dll"
windows.x86_32.debug = "bin/windows/libgdeos.windows.template_debug.dev.x86_32.dll"
windows.x86_32.debug = "bin/windows/libgdeos.windows.template_debug.x86_32.dll"
windows.x86_32.release = "bin/windows/libgdeos.windows.template_release.x86_32.dll"
macos.debug = "bin/macos/libgdeos.macos.template_debug.framework"
macos.release = "bin/macos/libgdeos.macos.template_release.framework"
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "v0.1.2"
version = "v0.1.3-dev"

print("BUILD_VERSION=" + version)

0 comments on commit 65bd442

Please sign in to comment.