Skip to content

Commit

Permalink
Add basic GitHub Actions CI
Browse files Browse the repository at this point in the history
This allows us to see when things are working or not in pushes and
pull requests.
  • Loading branch information
Conan-Kudo committed Sep 8, 2024
1 parent 0b84709 commit 17636f0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
build-type: ['normal']
container:
- 'registry.fedoraproject.org/fedora:latest'
- 'registry.fedoraproject.org/fedora:rawhide'
- 'docker.io/library/mageia:cauldron'
fail-fast: false

container:
image: ${{ matrix.container }}

steps:
- run: dnf --assumeyes install
/usr/bin/cmake
/usr/bin/python3
python3-yui
python3-manatools
python3-setuptools
python3-libdnf5
python3-yaml
python3-pyxdg
python3-cairosvg
python3-pillow
python3-pystray
git-core
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -S . -B github-build
- name: Build
run: cmake --build github-build

0 comments on commit 17636f0

Please sign in to comment.