diff --git a/.github/workflows/build-with-github.yml b/.github/workflows/build-with-github.yml deleted file mode 100644 index cb2e204..0000000 --- a/.github/workflows/build-with-github.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Build With Github -on: [push] -jobs: - Build-Linux: - strategy: - matrix: - godot_cpp_branch: [4.1, 4.2, 4.3] - os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ matrix.os }} - steps: - # clone current repo - - uses: actions/checkout@v4 - # clone required Godot source code into subfolder - - uses: actions/checkout@v4 - with: - repository: 'godotengine/godot-cpp' - ref: ${{ matrix.godot_cpp_branch }} - path: 'godot-cpp' - submodules: true - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - # install build dependencies/tools - - run: python -m pip install scons - - name: Install and cache required 32bit packages - if: ${{ matrix.os == 'ubuntu-latest' }} - uses: awalsh128/cache-apt-pkgs-action@v1.4.2 - with: - packages: gcc-multilib g++-multilib - # compile binaries - - name: build binaries - if: ${{ matrix.os != 'macos-latest' }} - run: | - scons target=template_debug arch=x86_32 debug_symbols=yes production=yes - scons target=template_release arch=x86_32 debug_symbols=yes production=yes - scons target=template_debug arch=x86_64 debug_symbols=yes production=yes - scons target=template_release arch=x86_64 debug_symbols=yes production=yes - - name: build MacOS binaries - if: ${{ matrix.os == 'macos-latest' }} - run: | - scons target=template_debug arch=x86_64 - scons target=template_release arch=x86_64 - scons target=template_debug arch=arm64 - scons target=template_release arch=arm64 - lipo -create demo/addons/tree3d/libtree3d.macos.template_release.framework/libtree3d.macos.template_release.arm64 demo/addons/tree3d/libtree3d.macos.template_release.framework/libtree3d.macos.template_release.x86_64 -output demo/addons/tree3d/libtree3d.macos.template_release.framework/libtree3d.macos.template_release.universal - lipo -create demo/addons/tree3d/libtree3d.macos.template_debug.framework/libtree3d.macos.template_debug.arm64 demo/addons/tree3d/libtree3d.macos.template_debug.framework/libtree3d.macos.template_debug.x86_64 -output demo/addons/tree3d/libtree3d.macos.template_debug.framework/libtree3d.macos.template_debug.universal - - name: archive built binaries - uses: actions/upload-artifact@v4 - with: - name: ${{ format('binaries-{0}-{1}', matrix.os, matrix.godot_cpp_branch) }} - if-no-files-found: 'error' - path: | - demo/addons/tree3d/libtree3d.* diff --git a/SConstruct b/SConstruct index 8c6f1a4..b6f149b 100644 --- a/SConstruct +++ b/SConstruct @@ -18,8 +18,8 @@ sources = Glob("src/*.cpp") if env["platform"] == "macos": library = env.SharedLibrary( - "demo/addons/tree3d/libtree3d.{}.{}.framework/libtree3d.{}.{}.{}".format( - env["platform"], env["target"], env["platform"], env["target"], env["arch"] + "demo/addons/tree3d/libtree3d.{}.{}.framework/libtree3d.{}.{}".format( + env["platform"], env["target"], env["platform"], env["target"] ), source=sources, ) diff --git a/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.dll b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.dll new file mode 100644 index 0000000..88125a3 Binary files /dev/null and b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.dll differ diff --git a/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.exp b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.exp new file mode 100644 index 0000000..58c7aae Binary files /dev/null and b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.exp differ diff --git a/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.lib b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.lib new file mode 100644 index 0000000..0549322 Binary files /dev/null and b/demo/addons/tree3d/libtree3d.windows.template_debug.x86_64.lib differ diff --git a/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.dll b/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.dll new file mode 100644 index 0000000..6041d93 Binary files /dev/null and b/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.dll differ diff --git a/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.lib b/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.lib new file mode 100644 index 0000000..dc5232a Binary files /dev/null and b/demo/addons/tree3d/libtree3d.windows.template_release.x86_64.lib differ