Skip to content

Update githubci.yml #1331

Update githubci.yml

Update githubci.yml #1331

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [stable, unstable, development-target]
container:
image: ghcr.io/elementary/docker:${{ matrix.version }}
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
apt update
apt install -y libadwaita-1-dev libgee-0.8-dev libgranite-dev libgtk-3-dev libhandy-1-dev libjson-glib-dev libsoup2.4-dev libswitchboard-3-dev libunity-dev libwingpanel-dev libzeitgeist-2.0-dev meson valac bc
- name: Build
env:
DESTDIR: out
run: |
meson build
ninja -C build install
- name: Test
env:
DESTDIR: out
run: |
ninja -C build test
lint:
runs-on: ubuntu-latest
container:
image: valalang/lint
steps:
- uses: actions/checkout@v4
- name: Lint
run: io.elementary.vala-lint -d .