Hi all,
just got myself the first script running for my prototype and after fixing the big batch of typos i made, i got the bellow error which is i believe more than a typo.
#!/bin/bash -eo pipefail
mkdir -p win64
./godot --export win64 project.godot "win64/test.exe"
invalid file (bad magic number): Exec format error
Exited with code exit status 1
CircleCI received exit code 1
And i hope you have some ideas on what may have be the culprit.
Bellow, the entire YML for your convenience.
version: 2
jobs:
build:
machine:
enabled: true
steps:
- checkout
- run:
name: Install dependencies
command: |
sudo apt-get update
sudo apt-get -y install wget zip unzip
- run:
name: Download Godot 3.4.4
command: |
wget -q https://downloads.tuxfamily.org/godotengine/3.4.4/Godot_v3.4.4-stable_linux_headless.64.zip
unzip Godot_v3.4.4-stable_linux_headless.64.zip
mv Godot_v3.4.4-stable_linux_headless.64.zip godot
chmod +x godot
- run:
name: Download Godot 3.4.4 Export Templates
command: |
wget -q https://downloads.tuxfamily.org/godotengine/3.4.4/Godot_v3.4.4-stable_export_templates.tpz
mkdir -p ~/.local/share/godot/templates
unzip Godot_v3.4.4-stable_export_templates.tpz -d ~/.local/share/godot/templates
mv ~/.local/share/godot/templates/templates ~/.local/share/godot/templates/3.4.stable
- run:
name: Export win64 build
command: |
mkdir -p win64
./godot --export win64 project.godot "win64/test.exe"
Thank you all
Best
JNS