Cleanup #30
2 changed files with 34 additions and 16 deletions
BIN
.buildtools/godot-4.0.1
Executable file
BIN
.buildtools/godot-4.0.1
Executable file
Binary file not shown.
|
@ -6,7 +6,7 @@ on:
|
|||
branches: [ dev-base ]
|
||||
|
||||
env:
|
||||
GODOT_VERSION: 3.3.4
|
||||
GODOT_VERSION: 4.0.1
|
||||
EXPORT_NAME: 2dHackAndSlay
|
||||
PROJECT_PATH: /
|
||||
|
||||
|
@ -15,25 +15,43 @@ jobs:
|
|||
export-linux:
|
||||
name: Linux Export
|
||||
runs-on: ubuntu-20.04
|
||||
container:
|
||||
image: barichello/godot-ci:3.3.4
|
||||
steps:
|
||||
- name: Setup System Packages
|
||||
run: |
|
||||
apt update -y && apt install nodejs ca-certificates -y
|
||||
apt update -y && apt install nodejs ca-certificates -y tree
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
- name: Setup
|
||||
- name: Prepare Dependencies and Paths
|
||||
run: |
|
||||
mkdir -v -p ~/.local/share/godot/templates
|
||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
||||
- name: Linux Build
|
||||
mkdir -p ~/.local/share/godot/export_templates/$GODOT_VERSION.stable
|
||||
mkdir -p build/linux
|
||||
cp -r .buildtools/dependencies/. ~/.local/share/godot/export_templates/$GODOT_VERSION.stable
|
||||
tree ~/.local/share/godot/export_templates/
|
||||
- name: Run Build
|
||||
run: .buildtools/godot-$GODOT_VERSION --headless -v --export-release "Linux/X11" build/linux/$EXPORT_NAME.64x86
|
||||
- name: result info
|
||||
run: |
|
||||
mkdir -v -p build/linux
|
||||
cd $PROJECT_PATH
|
||||
godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
||||
- name: Upload Artifact
|
||||
uses: https://github.com/actions/upload-artifact@v1
|
||||
with:
|
||||
name: linux
|
||||
path: build/linux
|
||||
tree build
|
||||
echo "No Artifact uploading yet"
|
||||
|
||||
export-windows:
|
||||
name: Windows Export
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Setup System Packages
|
||||
run: |
|
||||
apt update -y && apt install nodejs ca-certificates -y tree
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
- name: Prepare Dependencies and Paths
|
||||
run: |
|
||||
mkdir -p ~/.local/share/godot/export_templates/$GODOT_VERSION.stable
|
||||
mkdir -p build/windows
|
||||
cp -r .buildtools/dependencies/. ~/.local/share/godot/export_templates/$GODOT_VERSION.stable
|
||||
tree ~/.local/share/godot/export_templates/
|
||||
- name: Run Build
|
||||
run: .buildtools/godot-$GODOT_VERSION --headless -v --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
|
||||
- name: result info
|
||||
run: |
|
||||
tree build
|
||||
echo "No Artifact uploading yet"
|
Reference in a new issue