forked from scorpion-26/gBar
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.05 KB
/
Copy pathbuild.yml
File metadata and controls
48 lines (42 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
manual:
name: Build gBar manually
runs-on: ubuntu-latest
container:
image: archlinux
steps:
- name: Setup Arch Keyring
run: |
pacman-key --init
pacman-key --populate archlinux
- name: Download pacman packages
run: |
pacman -Syu --noconfirm base-devel gcc git ninja meson gtk-layer-shell pulseaudio wayland libdbusmenu-gtk3 libsass python-packaging glib2-devel jsoncpp
- name: Download gBar
uses: actions/checkout@v4.1.2
- name: Run meson
run: |
meson setup build
- name: Build gBar
run: |
ninja -C build
nix:
name: Build using Nix
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v20
- name: Download gBar
uses: actions/checkout@v3.3.0
with:
submodules: recursive
- name: Build Nix flake
run: |
nix build --print-build-logs