infra: update ci scripts
This commit is contained in:
parent
8517df1a38
commit
c56ec14345
4 changed files with 46 additions and 4 deletions
11
.builds/build.yml
Normal file
11
.builds/build.yml
Normal 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
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue