stevee

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

alpine.yml (1097B)


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