Initial Commit

This commit is contained in:
Christian Tosta
2026-08-11 14:46:19 -03:00
commit 33ed3db2ba
13 changed files with 605 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# SPDX-FileCopyrightText: 2026 Christian Tosta
# SPDX-License-Identifier: GPL-2.0-or-later
# @file .github/workflows/targets/debian.yml
# @brief Simplified Debian build target using workflow preset
name: Debian Build Target
on:
workflow_call:
inputs:
containers:
required: true
type: string
jobs:
build-deb:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container: ${{ fromJson(inputs.containers) }}
container:
image: ${{ matrix.container }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: apt-get update && apt-get install -y cmake build-essential git dpkg-dev fakeroot
- name: Run CMake Workflow
run: cmake --workflow --preset deb-workflow
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyenv-deb-${{ matrix.container }}
path: build/deb/*.deb
+34
View File
@@ -0,0 +1,34 @@
# SPDX-FileCopyrightText: 2026 Christian Tosta
# SPDX-License-Identifier: GPL-2.0-or-later
# @file .github/workflows/targets/fedora.yml
# @brief Fedora build target with internal container matrix
name: Fedora Build Target
on:
workflow_call:
jobs:
build-rpm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container: [fedora:42, fedora:43, fedora:latest]
container:
image: ${{ matrix.container }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: dnf install -y cmake gcc-c++ make git rpm-build
- name: Run CMake Workflow
run: cmake --workflow --preset rpm-workflow
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyenv-rpm-${{ matrix.container }}
path: build/rpm/*.rpm