From 8d8a0ca03a97425b791dae6e2939dc91852d7a1c Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Sat, 22 Feb 2020 14:46:34 +0100 Subject: [PATCH] Switch to run on Linux because it is faster --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c88e4255affd6..59cde5076c854 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,12 +118,21 @@ jobs: name: Run Integration Tests (Electron) monaco: - runs-on: macos-latest + runs-on: ubuntu-latest env: CHILD_CONCURRENCY: "1" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v1 + # TODO: rename azure-pipelines/linux/xvfb.init to github-actions + - run: | + sudo apt-get update + sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1 + sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb + sudo chmod +x /etc/init.d/xvfb + sudo update-rc.d xvfb defaults + sudo service xvfb start + name: Setup Build Environment - uses: actions/setup-node@v1 with: node-version: 10