Translated using Weblate (Japanese) #363
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
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@v1 | |
- name: Install Dependencies | |
run: | | |
apt update | |
apt install -y at-spi2-core dbus-x11 gnome-common libbamf3-dev libcairo2-dev libdbusmenu-gtk3-dev libgdk-pixbuf2.0-dev libgee-0.8-dev libglib2.0-dev libgnome-menu-3-dev libgranite-dev elementary-default-settings accountsservice libgtk-3-dev libwnck-3-dev libx11-dev libxml2-utils meson valac xvfb | |
- name: Build | |
run: | | |
meson -Denable-headless-tests=true build | |
ninja -C build | |
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" dbus-run-session -- tests/headless_runner.sh "ninja -C build test" | |
ninja -C build install |