Skip to content

Commit

Permalink
CI: build with meson
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored May 15, 2024
1 parent 5b52942 commit 2b20e17
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,45 @@ on:
- 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 libchamplain-0.12-dev libchamplain-gtk-0.12-dev libclutter-1.0-dev libecal2.0-dev libedataserver1.2-dev libedataserverui1.2-dev libfolks-dev libgee-0.8-dev libgeoclue-2-dev libgeocode-glib-dev libglib2.0-dev, libgranite-dev, libgtk-3-dev, libhandy-1-dev, libical-dev, libportal-dev, libportal-gtk3-dev, meson, valac
- name: Build and Test
env:
DESTDIR: out
run: |
meson setup -Dintegration_tests=true build
ninja -C build install
ninja -C build test
- name: Build and Test (Fedora)
env:
DESTDIR: out
run: |
meson configure -Dintegration_tests=true -Dcurated=false -Dpayments=false build
ninja -C build install
ninja -C build test
- name: Build (Flatpak-only)
env:
DESTDIR: out
run: |
meson configure -Dintegration_tests=true -Dpackagekit_backend=false -Dubuntu_drivers_backend=false build
ninja -C build install
flatpak:
name: Flatpak
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2b20e17

Please sign in to comment.