1
0
Fork 0
forked from wry/wry

infra: update ci scripts

This commit is contained in:
Julian Orth 2022-05-04 17:56:24 +02:00
parent 8517df1a38
commit c56ec14345
4 changed files with 46 additions and 4 deletions

11
.builds/build.yml Normal file
View file

@ -0,0 +1,11 @@
image: archlinux
sources:
- https://github.com/mahkoh/jay
tasks:
- install: |
sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon
rustup toolchain install stable
- build: |
cd jay
export RUSTC_BOOTSTRAP=1
cargo build

View file

@ -3,14 +3,17 @@ sources:
- https://github.com/mahkoh/jay
tasks:
- install: |
sudo pacman -S rustup
sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon xorg-xwayland adwaita-icon-theme libxcursor
rustup toolchain install stable
rustup default stable
- configure: |
sudo rmmod bochs
sudo modprobe vkms
sudo chmod o+rw /dev/dri/card*
- build: |
cd jay
export RUSTC_BOOTSTRAP=1
cargo build --features it
- test: |
cd jay
export RUSTC_BOOTSTRAP=1
export RUST_BACKTRACE=1
cargo run --features it -- run-tests
./target/debug/jay run-tests