Cleanup #30

Closed
Snoweuph wants to merge 2 commits from dev-ci-build into dev-base
2 changed files with 34 additions and 16 deletions

BIN
.buildtools/godot-4.0.1 Executable file

Binary file not shown.

View file

@ -6,7 +6,7 @@ on:
branches: [ dev-base ] branches: [ dev-base ]
env: env:
GODOT_VERSION: 3.3.4 GODOT_VERSION: 4.0.1
EXPORT_NAME: 2dHackAndSlay EXPORT_NAME: 2dHackAndSlay
PROJECT_PATH: / PROJECT_PATH: /
@ -15,25 +15,43 @@ jobs:
export-linux: export-linux:
name: Linux Export name: Linux Export
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:3.3.4
steps: steps:
- name: Setup System Packages - name: Setup System Packages
run: | run: |
apt update -y && apt install nodejs ca-certificates -y apt update -y && apt install nodejs ca-certificates -y tree
- name: Checkout - name: Checkout
uses: https://github.com/actions/checkout@v3 uses: https://github.com/actions/checkout@v3
- name: Setup - name: Prepare Dependencies and Paths
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -p ~/.local/share/godot/export_templates/$GODOT_VERSION.stable
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable mkdir -p build/linux
- name: Linux Build 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: | run: |
mkdir -v -p build/linux tree build
cd $PROJECT_PATH echo "No Artifact uploading yet"
godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
- name: Upload Artifact export-windows:
uses: https://github.com/actions/upload-artifact@v1 name: Windows Export
with: runs-on: ubuntu-20.04
name: linux steps:
path: build/linux - 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"