mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
cad464eb99
* Add support for creating Ubuntu Touch click packages. The clickable directory contains the files necessary to create a click package designed for Ubuntu Touch, a community-driven Linux distro for mobile phones as an alternative to iOS and Android. A new CI script has been added to create the packages, which is copied over from one of my other projects. Please change this to suit your needs. A new custom feature "clickable" has been added to the project settings to allow customizations for the Ubuntu Touch platform. Signed-off-by: Marquis Kurt <software@marquiskurt.net> * Make clickable CI follow more closely to desktop builds * Remove sudo from clickable install step * Install software-properties-common * Comment out docker startups in click install * Change export name for Click version * Change name and export mode to pack only * Change means of copying data to clickable dir * Install sudo to docker * Add -g to docker add user * Remove docker user creation * Remove other chpasswd stuff * Split CI into two jobs * Make build-ubports.sh runnable * Use HiPDI GUI theme on Clickable * Move clickable folder to Misc, add release CI targets * Add mobile to clickable settings * Add pixelorama_data to install data * Create pixelorama_data subdir in click itself * Change default save dir for clickable * Update AppArmor policy * Update clickable version to test AppArmor * Revert changes and use user data dir * Add README pertaining to Ubuntu Touch * Remove GODOT_MAC_VERSION from UT port workflow Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
76 lines
2.1 KiB
YAML
76 lines
2.1 KiB
YAML
name: "dev-clickable-builds"
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- "Translations/*"
|
|
- "installer/*.pot"
|
|
- "installer/po/*"
|
|
|
|
env:
|
|
GODOT_VERSION: 3.3
|
|
EXPORT_NAME: Pixelorama
|
|
|
|
jobs:
|
|
build_pck:
|
|
name: Create Pixelorama pack data
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docker://barichello/godot-ci:3.3
|
|
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
|