mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-23 04:15:35 +00:00
travis: add macos and windows CI
This commit is contained in:
parent
137d2ec539
commit
ae63bc7dab
25
.travis.yml
25
.travis.yml
|
@ -1,11 +1,18 @@
|
||||||
os: linux
|
matrix:
|
||||||
dist: trusty
|
include:
|
||||||
sudo: required
|
- os: linux
|
||||||
services:
|
language: cpp
|
||||||
- docker
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
services: docker
|
||||||
|
install: docker pull ubuntu:18.04
|
||||||
|
script: docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
|
||||||
|
|
||||||
install:
|
- os: osx
|
||||||
- docker pull ubuntu:18.04
|
language: rust
|
||||||
|
osx_image: xcode10
|
||||||
|
script: cargo build
|
||||||
|
|
||||||
script:
|
- os: windows
|
||||||
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
|
language: rust
|
||||||
|
script: cargo build
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd /liftinstall
|
cd /liftinstall || exit 1
|
||||||
|
|
||||||
apt update
|
apt-get update
|
||||||
apt install -y libwebkit2gtk-4.0-dev libssl-dev
|
apt-get install -y libwebkit2gtk-4.0-dev libssl-dev
|
||||||
|
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y
|
||||||
export PATH=~/.cargo/bin:$PATH
|
export PATH=~/.cargo/bin:$PATH
|
||||||
|
|
||||||
cargo build
|
cargo build
|
||||||
|
|
3
bootstrap.macos.toml
Normal file
3
bootstrap.macos.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# fake configuration for CI purpose only
|
||||||
|
name = "yuzu"
|
||||||
|
target_url = "https://raw.githubusercontent.com/j-selby/test-installer/master/config.linux.v2.toml"
|
Loading…
Reference in a new issue