Skip to content

Bootstrap

Bootstrap #7

Workflow file for this run

name: Bootstrap
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
version: ["39"]
arch: ["x86_64", "aarch64"]
fail-fast: false
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
container:
image: registry.fedoraproject.org/fedora:${{ matrix.version }}
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Install repositories
run: |
sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://github.com/andaman-common-pkgs/subatomic-repos/raw/main/um.repo
sudo dnf install -y subatomic-cli anda mock rpm-build
- uses: andaman-common-pkgs/anda-build@main
with:
name: "ultramarine/ultramarine-mock-configs/pkg"
mockConfig: fedora-${{ matrix.version }}-${{ matrix.arch }}
andaRepo: https://github.com/andaman-common-pkgs/subatomic-repos/raw/main/terra.repo
- name: Upload packages to subatomic
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
um${{ matrix.version }} anda-build/rpm/rpms/*