2020-07-23 15:00:19 +00:00
|
|
|
name: "dev-desktop-builds"
|
2020-06-25 15:18:20 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
2020-06-26 13:54:02 +00:00
|
|
|
paths-ignore: "Translations/*"
|
2020-06-25 15:18:20 +00:00
|
|
|
|
|
|
|
env:
|
2020-06-26 13:37:14 +00:00
|
|
|
GODOT_VERSION: 3.2.2
|
2020-06-25 15:18:20 +00:00
|
|
|
EXPORT_NAME: Pixelorama
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
export-windows:
|
|
|
|
name: Windows Export 🗔
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2020-06-26 13:37:14 +00:00
|
|
|
image: docker://barichello/godot-ci:3.2.2
|
2020-06-25 15:18:20 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout 🛎️
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: Setup 💻
|
|
|
|
run: |
|
|
|
|
mkdir -v -p build/windows-64bit ~/.local/share/godot/templates
|
|
|
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
|
|
|
- name: Windows Build 🔧
|
|
|
|
run: godot -v --export "Windows Desktop 64-bit" ./build/windows-64bit/$EXPORT_NAME.exe
|
2020-07-03 17:33:49 +00:00
|
|
|
- name: Copy pixelorama folder 📁
|
2020-06-25 15:18:20 +00:00
|
|
|
run: |
|
2020-07-03 17:33:49 +00:00
|
|
|
cp -R ./pixelorama ./build/windows-64bit
|
|
|
|
rm ./build/windows-64bit/pixelorama/.gdignore
|
2020-06-25 15:18:20 +00:00
|
|
|
- name: Upload Artifact 🚀
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: Windows-64bit
|
|
|
|
path: ./build/windows-64bit/
|
|
|
|
|
|
|
|
export-linux:
|
|
|
|
name: Linux Export 🐧
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2020-06-26 13:37:14 +00:00
|
|
|
image: docker://barichello/godot-ci:3.2.2
|
2020-06-25 15:18:20 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout 🛎️
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: Setup 💻
|
|
|
|
run: |
|
|
|
|
mkdir -v -p build/linux-64bit ~/.local/share/godot/templates
|
|
|
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
|
|
|
- name: Linux Build 🔧
|
|
|
|
run: godot -v --export "Linux/X11 64-bit" ./build/linux-64bit/$EXPORT_NAME.x86_64
|
2020-07-03 17:33:49 +00:00
|
|
|
- name: Copy pixelorama folder 📁
|
2020-06-25 15:18:20 +00:00
|
|
|
run: |
|
2020-07-03 17:33:49 +00:00
|
|
|
cp -R ./pixelorama ./build/linux-64bit
|
|
|
|
rm ./build/linux-64bit/pixelorama/.gdignore
|
2020-06-25 15:18:20 +00:00
|
|
|
- name: Upload Artifact 🚀
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: Linux-64bit
|
|
|
|
path: ./build/linux-64bit/
|
|
|
|
|
|
|
|
export-mac:
|
|
|
|
name: Mac Export 🍎
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2020-06-26 13:37:14 +00:00
|
|
|
image: docker://barichello/godot-ci:3.2.2
|
2020-06-25 15:18:20 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout 🛎️
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: Setup 💻
|
|
|
|
run: |
|
|
|
|
mkdir -v -p build/mac ~/.local/share/godot/templates
|
|
|
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
|
|
|
- name: Mac Build 🔧
|
|
|
|
run: godot -v --export "Mac OSX" ./build/mac/$EXPORT_NAME.zip
|
|
|
|
- name: Upload Artifact 🚀
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: Mac
|
|
|
|
path: ./build/mac/
|