This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
ci: Do not check for newer PySide6 updates #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PySide6 CI | |
on: | |
push: | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 0 * * *' # Run every day at 00:00 UTC. | |
jobs: | |
build-package: | |
name: "Build the PySide6 package for Fedora ${{matrix.version}}" | |
runs-on: ubuntu-latest | |
container: fedora:${{ matrix.version }} | |
strategy: | |
matrix: | |
include: | |
- version: "38" | |
- version: "39" | |
- version: "40" | |
env: | |
rpm_name: python3-pyside6-6.6.3.1-1.fc${{matrix.version}}.x86_64.rpm | |
srpm_name: python3-pyside6-6.6.3.1-1.fc${{matrix.version}}.src.rpm | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install build dependencies | |
run: dnf install -y rpm-build python3-devel | |
- name: Build the PySide6 package | |
run: ./build.sh | |
- name: Upload binary RPM | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.rpm_name }} | |
path: ".rpmbuild/RPMS/x86_64/${{ env.rpm_name }}" | |
if-no-files-found: error | |
compression-level: 0 | |
- name: Upload source RPM | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.srpm_name }} | |
path: ".rpmbuild/SRPMS/${{ env.srpm_name }}" | |
if-no-files-found: error | |
compression-level: 0 |