Update README.md #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Download gBar | |
uses: actions/[email protected] | |
- 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/[email protected] | |
with: | |
submodules: recursive | |
- name: Build Nix flake | |
run: | | |
nix build --print-build-logs |