forked from Orama-Interactive/Pixelorama
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (67 loc) · 1.95 KB
/
dev-clickable-builds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: "dev-clickable-builds"
on:
push:
branches: [ master ]
env:
GODOT_VERSION: 3.5
EXPORT_NAME: Pixelorama
jobs:
build_pck:
name: Create Pixelorama pack data
runs-on: ubuntu-latest
container:
image: docker://barichello/godot-ci:3.5
steps:
- name: Clone source
uses: actions/checkout@v2
with:
submodules: true
- name: Linux Build 🔧
run: godot -v --export-pack "Clickable (Package Only)" ./Misc/Clickable/Pixelorama.pck
- name: Copy Pixelorama data files
run: |
cp -R ./pixelorama_data ./Misc/Clickable
- name: Upload data files for click package
uses: actions/upload-artifact@v2
with:
name: pixelorama_click_data
path: Misc/Clickable/
retention-days: 14
build_click:
name: Create click package
needs: build_pck
runs-on: ubuntu-latest
strategy:
matrix:
architectures:
- armhf
- arm64
steps:
- name: Clone source
uses: actions/checkout@v2
- name: Install clickable dependencies
run: |
sudo add-apt-repository ppa:bhdouglass/clickable
sudo apt update
sudo apt install -y containerd docker.io runc clickable
sudo systemctl unmask docker.service
sudo systemctl start docker.service
- name: Remove existing click folder
run: rm -r ./Misc/Clickable
- name: Download click data
uses: actions/download-artifact@v2
with:
name: pixelorama_click_data
path: ./Misc/Clickable
- name: Run Clickable
run: |
cd Misc/Clickable
chmod +x build-ubports.sh
clickable build
env:
CLICKABLE_ARCH: ${{ matrix.architectures }}
- name: Upload click package artifact
uses: actions/upload-artifact@v2
with:
name: pixelorama_click_packages
path: Misc/Clickable/build/**.click