提交 306bebbc 编写于 作者: D David Staheli

Revert back to 'Hosted Linux Preview'

上级 f5d85579
......@@ -6,8 +6,7 @@ jobs:
- template: win32/continuous-build-win32.yml
- job: Linux
pool:
vmImage: Ubuntu 16.04
pool: Hosted Linux Preview
steps:
- template: linux/continuous-build-linux.yml
......
steps:
- script: |
set -e
sudo apt-get update
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 libgconf-2-4 dbus xvfb libgtk-3-0
sudo cp build/tfs/linux/x64/xvfb.init /etc/init.d/xvfb
sudo chmod +x /etc/init.d/xvfb
sudo update-rc.d xvfb defaults
sudo ln -sf /bin/dbus-daemon /usr/bin/dbus-daemon
sudo service xvfb start
sudo service dbus start
apt-get update
apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 libgconf-2-4 dbus xvfb libgtk-3-0
cp build/tfs/linux/x64/xvfb.init /etc/init.d/xvfb
chmod +x /etc/init.d/xvfb
update-rc.d xvfb defaults
ln -sf /bin/dbus-daemon /usr/bin/dbus-daemon
service xvfb start
service dbus start
- task: NodeTool@0
inputs:
versionSpec: "8.9.1"
......
......@@ -32,7 +32,7 @@ steps:
npm run gulp -- "electron-$(VSCODE_ARCH)"
# xvfb seems to be crashing often, let's make sure it's always up
sudo service xvfb start
service xvfb start
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests"
# yarn smoketest -- --build "$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册