mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-23 00:05: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
|
||||
dist: trusty
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
language: cpp
|
||||
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:
|
||||
- docker pull ubuntu:18.04
|
||||
- os: osx
|
||||
language: rust
|
||||
osx_image: xcode10
|
||||
script: cargo build
|
||||
|
||||
script:
|
||||
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
|
||||
- os: windows
|
||||
language: rust
|
||||
script: cargo build
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
cd /liftinstall
|
||||
cd /liftinstall || exit 1
|
||||
|
||||
apt update
|
||||
apt install -y libwebkit2gtk-4.0-dev libssl-dev
|
||||
apt-get update
|
||||
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
|
||||
|
||||
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