mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-09-11 15:56:04 +03:00
Updated build actions to use pre-built dockerfiles
This commit is contained in:
parent
6f850ebadb
commit
0f69f080b4
30
.github/workflows/building.yml
vendored
30
.github/workflows/building.yml
vendored
@ -14,29 +14,19 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
distro:
|
||||
- archlinux
|
||||
- ubuntu
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: ubuntu:21.10
|
||||
container:
|
||||
image: erikreider/swaync:${{ matrix.distro }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Apt update
|
||||
run: apt update
|
||||
- name: Install depends
|
||||
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
|
||||
- name: Meson
|
||||
run: meson build
|
||||
- name: Build
|
||||
run: ninja -C build
|
||||
arch:
|
||||
runs-on: ubuntu-latest
|
||||
container: archlinux:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install depends
|
||||
run: |
|
||||
pacman-key --init
|
||||
pacman -Sy --noconfirm meson gtk3 gobject-introspection vala json-glib libhandy gtk-layer-shell
|
||||
- name: Meson
|
||||
- name: Meson configure
|
||||
run: meson build
|
||||
- name: Build
|
||||
run: ninja -C build
|
||||
|
6
Dockerfiles/archlinux
Normal file
6
Dockerfiles/archlinux
Normal file
@ -0,0 +1,6 @@
|
||||
# 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
|
6
Dockerfiles/ubuntu
Normal file
6
Dockerfiles/ubuntu
Normal file
@ -0,0 +1,6 @@
|
||||
# vim: ft=Dockerfile
|
||||
|
||||
FROM ubuntu:21.10
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user