From a6ba29e2ce971b61bc4c17588c72a559b614ea65 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 29 May 2024 21:26:23 +0300 Subject: [PATCH] Generate Linux ARM64 builds for early access --- .github/workflows/dev-desktop-builds.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-desktop-builds.yml b/.github/workflows/dev-desktop-builds.yml index 0ded97abf..3f952c241 100644 --- a/.github/workflows/dev-desktop-builds.yml +++ b/.github/workflows/dev-desktop-builds.yml @@ -68,28 +68,38 @@ jobs: submodules: true - name: Setup 💻 run: | - mkdir -v -p build/${EXPORT_NAME}-Linux-64bit ~/.local/share/godot/export_templates + mkdir -v -p build/${EXPORT_NAME}-Linux-64bit build/${EXPORT_NAME}-Linux-ARM64 ~/.local/share/godot/export_templates mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Linux Build 🔧 run: | godot --headless -v --export-release "Linux/X11 64-bit" ./build/${EXPORT_NAME}-Linux-64bit/$EXPORT_NAME.x86_64 + godot --headless -v --export-release "Linux/X11 ARM64" ./build/${EXPORT_NAME}-Linux-ARM64/${EXPORT_NAME}.arm64 - name: Give execute permission ☑️ run: | chmod +x ./build/${EXPORT_NAME}-Linux-64bit/$EXPORT_NAME.x86_64 + chmod +x ./build/${EXPORT_NAME}-Linux-ARM64/${EXPORT_NAME}.arm64 - name: Copy pixelorama_data folder 📁 run: | rm ./pixelorama_data/.gdignore cp -R ./pixelorama_data ./build/${EXPORT_NAME}-Linux-64bit + cp -R ./pixelorama_data ./build/${EXPORT_NAME}-Linux-ARM64 - name: Create tar.gz archive 🗜️ run: | cd build tar zcvf ${EXPORT_NAME}-Linux-64bit.tar.gz ${EXPORT_NAME}-Linux-64bit - - name: Upload Artifact 🚀 + tar zcvf ${EXPORT_NAME}-Linux-ARM64.tar.gz ${EXPORT_NAME}-Linux-ARM64 + - name: Upload Linux x86_64 Artifact 🚀 uses: actions/upload-artifact@v4 with: name: ${{env.EXPORT_NAME}}-Linux-64bit path: ./build/${{env.EXPORT_NAME}}-Linux-64bit.tar.gz retention-days: 14 + - name: Upload Linux ARM64 Artifact 🚀 + uses: actions/upload-artifact@v4 + with: + name: ${{env.EXPORT_NAME}}-Linux-ARM64 + path: ./build/${{env.EXPORT_NAME}}-Linux-ARM64.tar.gz + retention-days: 14 export-mac: name: Mac Export 🍎