Skip to content

Commit eba91dd

Browse files
authored
Create main CI (#2)
1 parent 43db8e0 commit eba91dd

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
version: [stable, unstable, development-target]
18+
container:
19+
image: ghcr.io/elementary/docker:${{ matrix.version }}
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Install Dependencies
24+
run: |
25+
apt update
26+
apt install -y meson gobject-introspection libgirepository1.0-dev libgtk-4-dev valac
27+
- name: Build
28+
env:
29+
DESTDIR: out
30+
run: |
31+
meson setup build
32+
ninja -C build install
33+
34+
lint:
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: elementary/actions/vala-lint@master

0 commit comments

Comments
 (0)