Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
Build for 4.1 godot
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Sep 14, 2023
1 parent 937a4b1 commit b8f49ef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ jobs:
with:
path: ./godot_version.txt
- name: Install Godot
uses: paulloz/[email protected]
with:
version: ${{ steps.godot_version.outputs.content }}
run: |
export GODOT_VERSION=$(echo "${{ steps.godot_version.outputs.content }}"|tr -d '\n')
wget https://downloads.tuxfamily.org/godotengine/"$GODOT_VERSION"/Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
unzip Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
chmod +x Godot_v"$GODOT_VERSION"-stable_linux.x86_64
rm Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
mv Godot_v"$GODOT_VERSION"-stable_linux.x86_64 /usr/local/bin/godot
shell: bash
- name: Build
run: ./build.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: linux_x11_64_release
path: ./linux_x11_64_release
name: linux_release.x86_64
path: ./linux_release.x86_64
deploy:
needs: [build]
runs-on: ubuntu-latest
Expand All @@ -42,7 +47,7 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: linux_x11_64_release
name: linux_release.x86_64
path: ./
- name: Create Release
uses: softprops/[email protected]
Expand All @@ -55,5 +60,5 @@ jobs:
prerelease: false
generate_release_notes: true
files: |
linux_x11_64_release
linux_release.x86_64
godot_version.txt
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GODOT_VERSION=`cat godot_version.txt`

git clone https://github.com/godotengine/godot.git --depth 1 -b "$GODOT_VERSION"-stable godot-build
pushd godot-build
scons platform=x11 production=yes tools=no target=release bits=64 lto=full disable_3d=yes module_arkit_enabled=no module_assimp_enabled=no module_bullet_enabled=no module_camera_enabled=no module_csg_enabled=no module_dds_enabled=no module_enet_enabled=no module_etc_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jsonrpc_enabled=no module_mbedtls_enabled=no module_mobile_vr_enabled=no module_opensimplex_enabled=no module_opus_enabled=no module_pvr_enabled=no module_recast_enabled=no module_regex_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_vhacd_enabled=no module_vorbis_enabled=no module_webm_enabled=no module_webrtc_enabled=no module_websocket_enabled=no module_xatlas_unwrap_enabled=no module_svg_enabled=no optimize=size minizip=no module_freetype_enabled=no module_gdnavigation_enabled=no module_ogg_enabled=no module_minimp3_enabled=no warnings=no builtin_libpng=no
scons platform=x11 production=yes tools=no target=template_release bits=64 lto=full disable_3d=yes module_arkit_enabled=no module_assimp_enabled=no module_bullet_enabled=no module_camera_enabled=no module_csg_enabled=no module_dds_enabled=no module_enet_enabled=no module_etc_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jsonrpc_enabled=no module_mbedtls_enabled=no module_mobile_vr_enabled=no module_opensimplex_enabled=no module_opus_enabled=no module_pvr_enabled=no module_recast_enabled=no module_regex_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_vhacd_enabled=no module_vorbis_enabled=no module_webm_enabled=no module_webrtc_enabled=no module_websocket_enabled=no module_xatlas_unwrap_enabled=no module_svg_enabled=no optimize=size minizip=no module_gdnavigation_enabled=no module_ogg_enabled=no module_minimp3_enabled=no warnings=no
popd

cp -rfv ./godot-build/bin/godot.x11.opt.64 ./linux_x11_64_release
cp -rfv ./godot-build/bin/godot.linuxbsd.template_release.x86_64 ./linux_release.x86_64
2 changes: 1 addition & 1 deletion godot_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.2
4.1

0 comments on commit b8f49ef

Please sign in to comment.