mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-23 00:05:35 +00:00
travis: Build using the linux-liftinstall Docker container
travis: Build in release mode travis: Use yuzu user for building travis: Fix permissions resetting
This commit is contained in:
parent
e54199ad6f
commit
061944079b
|
@ -1,15 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
cd /liftinstall || exit 1
|
||||
|
||||
# setup NodeJS
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
# setup Yarn
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
apt-get update
|
||||
apt-get install -y libwebkit2gtk-4.0-dev libssl-dev nodejs yarn
|
||||
|
||||
yarn --cwd ui
|
||||
|
||||
cargo build
|
||||
cargo build --release
|
||||
|
|
6
.travis/exec.sh
Normal file
6
.travis/exec.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# the UID for the container yuzu user is 1027
|
||||
sudo chown -R 1027 ./
|
||||
docker run -v $(pwd):/liftinstall -t yuzuemu/build-environments:linux-liftinstall /bin/bash /liftinstall/.travis/build.sh
|
||||
sudo chown -R $(id -u):$(id -g) ./
|
Loading…
Reference in a new issue