Remove DockerFiles and move package installation into each action (#210)
This commit is contained in:
17
.github/workflows/arch-build.yml
vendored
17
.github/workflows/arch-build.yml
vendored
@@ -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
|
||||
|
2
.github/workflows/fedora-build.yml
vendored
2
.github/workflows/fedora-build.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
fedora-build:
|
||||
container: fedora:rawhide
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
2
.github/workflows/fedora-copr.yml
vendored
2
.github/workflows/fedora-copr.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
fedora-copr:
|
||||
container: fedora:latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
vala-linting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
18
.github/workflows/ubuntu-build.yml
vendored
18
.github/workflows/ubuntu-build.yml
vendored
@@ -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
|
||||
|
@@ -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
|
@@ -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
|
Reference in New Issue
Block a user