stevee

My wayland statusbar
git clone git://gtms.dev/stevee
Log | Files | Refs | README | LICENSE

archlinux.yml (1050B)


      1 image: archlinux
      2 packages:
      3   - meson
      4   - tar
      5   - wayland-protocols
      6   - wget
      7   - xz
      8 sources:
      9   - https://codeberg.org/ifreund/zig-wayland
     10   - https://gitlab.freedesktop.org/wayland/wayland.git
     11 tasks:
     12   - install_deps: |
     13       cd wayland
     14       git checkout 1.22.0
     15       meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
     16       sudo ninja -C build install
     17       cd ..
     18 
     19       # Eat Github's resources rather than the Zig Software Foundation's resources!
     20       wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.14.0/zig-linux-x86_64-0.14.0.tar.xz
     21       tar xf zig-linux-x86_64-0.14.0.tar.xz
     22       sudo mv zig-linux-x86_64-0.14.0/zig /usr/bin/
     23       sudo mv zig-linux-x86_64-0.14.0/lib /usr/lib/zig
     24   - build: |
     25       cd zig-wayland
     26       zig build -Denable-tests --summary all
     27   - hello: |
     28       cd zig-wayland/example/hello
     29       zig build --summary all
     30   - fmt: |
     31       cd zig-wayland
     32       zig fmt --check build.zig
     33       zig fmt --check build.zig.zon
     34       zig fmt --check src/
     35       zig fmt --check example/