Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.13 KB

GSConnect CI

Docker image for GSConnect CI.

GitHub Container Registry

Images are automatically deployed from release tags/branches to the GitHub Container Registry.

The latest image will be listed under "Packages" on the repo homepage.

To use from another GitHub Actions workflow:

jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/gsconnect/gsconnect-ci:latest
    steps:
      - uses: actions/checkout@v2

      - name: Prep environment
        run: >
          meson --prefix=/usr
                --libdir=lib/
                -Dgnome_shell_libdir=/usr/lib
                -Dpost_install=true
                _build

      - name: Run uninstalled tests
        run: >
          meson test -C _build
                --suite gsconnect:data
                --suite gsconnect:lint
                --print-errorlogs

      - name: Run installed tests
        run: |
          ninja -C _build install
          xvfb-run -a dbus-run-session -- \
            gnome-desktop-testing-runner gsconnect -L _build/meson-logs