Automatic commit of package [freeipa-nextcloud] release [0.1.9-1]. #18
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: CI | ||
Check failure on line 1 in .github/workflows/main.yml GitHub Actions / CIInvalid workflow file
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- freeipa-nextcloud-* | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
container: [fedora:37, fedora:38, fedora:39, rockylinux:9, rockylinux:9.3] | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.container }} | ||
steps: | ||
- name: Install build tools | ||
run: dnf install -y git tito | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- name: Install build dependencies | ||
run: dnf builddep -y $GITHUB_WORKSPACE/freeipa-nextcloud.spec | ||
- name: Build rpm | ||
run: | | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
cd $GITHUB_WORKSPACE | ||
tito build --test --rpm -o . | ||
- name: Test installation of built rpm | ||
run: dnf install -y noarch/*.rpm | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: rpms | ||
path: ${{ github.workspace }}/noarch/*.rpm | ||