Remove action for now
This commit is contained in:
parent
83b7b4c388
commit
b6b4188bc1
|
@ -1,46 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
flatpak:
|
|
||||||
name: Flatpak
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-46
|
|
||||||
options: --privileged
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
arch: [x86_64, aarch64]
|
|
||||||
fail-fast: false
|
|
||||||
steps:
|
|
||||||
- name: Fix - executable file "node" not found in $PATH
|
|
||||||
run: echo /home/runner/externals/node20/bin >> $PATH
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install Swift dependencies
|
|
||||||
run: |
|
|
||||||
dnf -y install libadwaita-devel
|
|
||||||
dnf -y install swiftlang
|
|
||||||
- name: Install deps
|
|
||||||
if: ${{ matrix.arch != 'x86_64' }}
|
|
||||||
run: |
|
|
||||||
dnf -y install docker
|
|
||||||
- name: Set up QEMU
|
|
||||||
if: ${{ matrix.arch != 'x86_64' }}
|
|
||||||
id: qemu
|
|
||||||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
|
||||||
- name: SPM Flatpak Builder Tool
|
|
||||||
run: |
|
|
||||||
swift build -c release
|
|
||||||
git clone https://github.com/flatpak/flatpak-builder-tools
|
|
||||||
mv data/release-manifest/manifest.json io.github.AparokshaUI.AdwaitaTemplate.json
|
|
||||||
swift flatpak-builder-tools/spm/flatpak-spm-generator.swift . .
|
|
||||||
- name: Flatpak Builder
|
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
|
||||||
with:
|
|
||||||
bundle: io.github.AparokshaUI.AdwaitaTemplate.flatpak
|
|
||||||
manifest-path: io.github.AparokshaUI.AdwaitaTemplate.json
|
|
||||||
cache-key: flatpak-builder-${{ github.sha }}
|
|
||||||
arch: ${{ matrix.arch }}
|
|
Loading…
Reference in New Issue