From 115c2261137de6acc4049901568eae053f842e3d Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Jan 2021 22:51:00 +1100 Subject: [PATCH] [github] update build workflow to update apt, and update deps --- .github/workflows/build.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e049c64..9550a498 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,17 @@ jobs: - uses: actions/checkout@v1 with: submodules: recursive + - name: Update apt + run: | + sudo apt-get update - name: Install client dependencies run: | sudo apt-get install \ - binutils-dev libdrm-dev libsdl2-dev libsdl2-ttf-dev \ - libspice-protocol-dev nettle-dev wayland-protocols + binutils-dev \ + libsdl2-dev libsdl2-ttf-dev \ + libspice-protocol-dev nettle-dev \ + libx11-dev libxss-dev libxi-dev \ + wayland-protocols - name: Configure client run: | mkdir client/build @@ -42,6 +48,9 @@ jobs: - uses: actions/checkout@v1 with: submodules: recursive + - name: Update apt + run: | + sudo apt-get update - name: Install Linux host dependencies run: | sudo apt-get install binutils-dev libgl1-mesa-dev @@ -61,6 +70,9 @@ jobs: - uses: actions/checkout@v1 with: submodules: recursive + - name: Update apt + run: | + sudo apt-get update - name: Install Windows host cross-compile dependencies run: | sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 nsis @@ -107,6 +119,9 @@ jobs: - uses: actions/checkout@v1 with: submodules: recursive + - name: Update apt + run: | + sudo apt-get update - name: Install obs plugin dependencies run: | sudo apt-get install binutils-dev libobs-dev libgl1-mesa-dev