Skip to content

Cleanup

Cleanup #131

Workflow file for this run

name: Build package
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
pkg:
- xdg-desktop-portal-helium
arch:
- x86_64
- aarch64
version:
- gnome1
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
container:
image: registry.fedoraproject.org/fedora:39
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Install repositories and dependencies
run: |
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/gnome1.repo
dnf install -y anda mock subatomic-cli gnome-mock-configs git curl wget
- uses: actions/checkout@v3
with:
submodules: "recursive"
set-safe-directory: true
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: andaman-common-pkgs/anda-build@main
with:
name: ${{ matrix.pkg }}
mockConfig: gnome-1-${{ matrix.arch }}
andaRepo: https://github.com/terrapkg/subatomic-repos/raw/main/terra39.repo
- name: Upload to subatomic
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
${{ matrix.version }} anda-build/rpm/rpms/*