Skip to content

Commit 17636f0

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 17636f0

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Diff for: .github/workflows/build.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
steps:
22+
- run: dnf --assumeyes install
23+
/usr/bin/cmake
24+
/usr/bin/python3
25+
python3-yui
26+
python3-manatools
27+
python3-setuptools
28+
python3-libdnf5
29+
python3-yaml
30+
python3-pyxdg
31+
python3-cairosvg
32+
python3-pillow
33+
python3-pystray
34+
git-core
35+
- uses: actions/checkout@v4
36+
- name: Configure CMake
37+
run: cmake -S . -B github-build
38+
- name: Build
39+
run: cmake --build github-build

0 commit comments

Comments
 (0)