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: workflow_dispatch:
jobs: jobs:
build: arch-build:
container: archlinux:latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: env:
image: erikreider/swaync:archlinux PACKAGES: meson gtk3 gobject-introspection vala json-glib libhandy gtk-layer-shell scdoc
steps: 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 - name: Meson configure
run: meson build run: meson build
- name: Build - name: Build
run: ninja -C build run: ninja -C build

View File

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

View File

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

View File

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

View File

@@ -14,13 +14,23 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: ubuntu-LTS-build:
container: ubuntu:22.04
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: env:
image: erikreider/swaync:ubuntu 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: 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 - name: Meson configure
run: meson build run: meson build
- name: Build - name: Build
run: ninja -C build run: ninja -C build

View File

@@ -1,6 +0,0 @@
# vim: ft=Dockerfile
FROM archlinux:latest
RUN pacman-key --init
RUN pacman -Sy --noconfirm meson gtk3 gobject-introspection vala json-glib libhandy gtk-layer-shell scdoc

View File

@@ -1,6 +0,0 @@
# vim: ft=Dockerfile
FROM ubuntu:22.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt install -y meson libwayland-dev libgtk-3-dev gobject-introspection libgirepository1.0-dev valac libjson-glib-dev libhandy-1-dev libgtk-layer-shell-dev scdoc