image: archlinux
sources:
  - https://github.com/mahkoh/jay
tasks:
  - packages: |
      echo 'Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch' | sudo tee /etc/pacman.d/mirrorlist
  - install: |
      sudo pacman -Syu --noconfirm
      sudo pacman -S --noconfirm rustup musl
      rustup toolchain install stable
      rustup target install x86_64-unknown-linux-musl
  - build: |
      cd jay
      cargo check --target x86_64-unknown-linux-musl
