Skip to content

Commit 97b042c

Browse files
committed
Add basic GitHub Actions CI
This allows us to see when things are working or not in pushes and pull requests.
1 parent 0b84709 commit 97b042c

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Diff for: .github/workflows/build.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
build-type: ['normal']
12+
container:
13+
- 'registry.fedoraproject.org/fedora:latest'
14+
- 'registry.fedoraproject.org/fedora:rawhide'
15+
- 'docker.io/library/mageia:cauldron'
16+
fail-fast: false
17+
18+
container:
19+
image: ${{ matrix.container }}
20+
21+
- run: dnf --assumeyes install
22+
/usr/bin/cmake
23+
/usr/bin/python3
24+
python3-yui
25+
python3-manatools
26+
python3-setuptools
27+
python3-libdnf5
28+
python3-yaml
29+
python3-pyxdg
30+
python3-cairosvg
31+
python3-pillow
32+
python3-pystray
33+
git-core
34+
- uses: actions/checkout@v4
35+
- name: Configure CMake
36+
run: cmake -S . -B github-build
37+
- name: Build
38+
run: cmake --build github-build

0 commit comments

Comments
 (0)