Rust start #2381
Workflow file for this run
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: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: elementary/docker:unstable | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Dependencies | |
run: | | |
apt update | |
apt install -y libarchive-dev valac meson appstream-util xvfb at-spi2-core git build-essential autoconf autoconf-archive autopoint automake pkg-config libtool m4 autoconf-archive gtk-doc-tools libxml2-utils gobject-introspection libgirepository1.0-dev libglib2.0-dev libjson-glib-dev gettext libcairo2-dev libgtk-3-dev | |
- name: Build | |
run: | | |
meson build | |
ninja -C build | |
ninja -C build install | |
flatpak: | |
name: Flatpak | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/elementary/flatpak-platform/runtime:6 | |
options: --privileged | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3 | |
with: | |
bundle: akira-dev.flatpak | |
manifest-path: com.github.akiraux.akira.yml | |
run-tests: true | |
repository-name: appcenter | |
repository-url: https://flatpak.elementary.io/repo.flatpakrepo | |
cache-key: "flatpak-builder-${{ github.sha }}" |