Remove DockerFiles and move package installation into each action (#210)

This commit is contained in:
Erik Reider
2023-02-12 14:48:06 +01:00
committed by GitHub
parent a9db8b7fcb
commit 60ef8f93fc
7 changed files with 30 additions and 23 deletions

View File

@@ -14,13 +14,22 @@ on:
workflow_dispatch:
jobs:
build:
arch-build:
container: archlinux:latest
runs-on: ubuntu-latest
container:
image: erikreider/swaync:archlinux
env:
PACKAGES: meson gtk3 gobject-introspection vala json-glib libhandy gtk-layer-shell scdoc
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
pacman-key --init
pacman -Sy --noconfirm $PACKAGES
- name: Check out sources
uses: actions/checkout@v3
- name: Meson configure
run: meson build
- name: Build
run: ninja -C build

View File

@@ -10,7 +10,7 @@ on:
workflow_dispatch:
jobs:
package:
fedora-build:
container: fedora:rawhide
runs-on: ubuntu-latest

View File

@@ -8,7 +8,7 @@ on:
workflow_dispatch:
jobs:
package:
fedora-copr:
container: fedora:latest
runs-on: ubuntu-latest

View File

@@ -14,7 +14,7 @@ on:
workflow_dispatch:
jobs:
lint:
vala-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

View File

@@ -14,13 +14,23 @@ on:
workflow_dispatch:
jobs:
build:
ubuntu-LTS-build:
container: ubuntu:22.04
runs-on: ubuntu-latest
container:
image: erikreider/swaync:ubuntu
env:
DEBIAN_FRONTEND: noninteractive
PACKAGES: meson libwayland-dev libgtk-3-dev gobject-introspection libgirepository1.0-dev valac libjson-glib-dev libhandy-1-dev libgtk-layer-shell-dev scdoc
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
apt update
apt install -y $PACKAGES
- name: Check out sources
uses: actions/checkout@v3
- name: Meson configure
run: meson build
- name: Build
run: ninja -C build