mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 15:03:53 +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
|
||||
rust:
|
||||
- stable
|
||||
cache: cargo
|
||||
services:
|
||||
- docker
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libwebkit2gtk-3.0-dev
|
||||
install:
|
||||
- docker pull ubuntu:18.04
|
||||
|
||||
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