1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Generate Linux ARM64 builds for early access

This commit is contained in:
Emmanouil Papadeas 2024-05-29 21:26:23 +03:00
parent 4232539fdb
commit a6ba29e2ce

View file

@ -68,28 +68,38 @@ jobs:
submodules: true submodules: true
- name: Setup 💻 - name: Setup 💻
run: | 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 mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Linux Build 🔧 - name: Linux Build 🔧
run: | 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 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 ☑️ - name: Give execute permission ☑️
run: | run: |
chmod +x ./build/${EXPORT_NAME}-Linux-64bit/$EXPORT_NAME.x86_64 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 📁 - name: Copy pixelorama_data folder 📁
run: | run: |
rm ./pixelorama_data/.gdignore rm ./pixelorama_data/.gdignore
cp -R ./pixelorama_data ./build/${EXPORT_NAME}-Linux-64bit cp -R ./pixelorama_data ./build/${EXPORT_NAME}-Linux-64bit
cp -R ./pixelorama_data ./build/${EXPORT_NAME}-Linux-ARM64
- name: Create tar.gz archive 🗜️ - name: Create tar.gz archive 🗜️
run: | run: |
cd build cd build
tar zcvf ${EXPORT_NAME}-Linux-64bit.tar.gz ${EXPORT_NAME}-Linux-64bit 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 uses: actions/upload-artifact@v4
with: with:
name: ${{env.EXPORT_NAME}}-Linux-64bit name: ${{env.EXPORT_NAME}}-Linux-64bit
path: ./build/${{env.EXPORT_NAME}}-Linux-64bit.tar.gz path: ./build/${{env.EXPORT_NAME}}-Linux-64bit.tar.gz
retention-days: 14 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: export-mac:
name: Mac Export 🍎 name: Mac Export 🍎