mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 04:09:09 +00:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Build Lune AppImage
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
arch: ["x86_64", "aarch64"]
|
|
|
|
name: Build the AppImage
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Runner info
|
|
run: uname -ar
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
|
|
# - name: Set working directory
|
|
# run: cd ./package/appimage && export LUNE_VERSION=0.7.5
|
|
|
|
- name: Build AppImage
|
|
uses: lalten/run-on-arch-action@amd64-support
|
|
id: buildimg
|
|
with:
|
|
arch: ${{ matrix.arch }}
|
|
distro: buster
|
|
dockerRunArgs: |
|
|
--volume "./package/appimage:/build" --privileged
|
|
run: |
|
|
apt update
|
|
apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y
|
|
cd /build
|
|
./pkg2appimage/pkg2appimage lune.yml
|
|
mv ./lune/lune-$(uname -m).AppImage ./lune-$LUNE_VERSION-$(uname -m).AppImage
|