mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 15:23:43 +00:00
Use Docker for more recent LTS
This commit is contained in:
parent
7faa1c18e0
commit
7e7e90f8c2
2 changed files with 16 additions and 8 deletions
15
.travis.yml
15
.travis.yml
|
@ -1,9 +1,8 @@
|
||||||
language: rust
|
services:
|
||||||
rust:
|
- docker
|
||||||
- stable
|
|
||||||
cache: cargo
|
|
||||||
|
|
||||||
addons:
|
install:
|
||||||
apt:
|
- docker pull ubuntu:18.04
|
||||||
packages:
|
|
||||||
- libwebkit2gtk-3.0-dev
|
build:
|
||||||
|
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
|
||||||
|
|
9
.travis/build.sh
Normal file
9
.travis/build.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
cd /liftinstall
|
||||||
|
|
||||||
|
sudo apt install libwebkit2gtk-4.0-dev
|
||||||
|
|
||||||
|
curl https://sh.rustup.rs -sSf | sh -s
|
||||||
|
export PATH=~/.cargo/bin:$PATH
|
||||||
|
|
||||||
|
cargo build
|
Loading…
Reference in a new issue