From b8178b3e7d6d49c6c041249fd504f37037a21cdd Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 14 Jan 2021 04:19:16 -0500 Subject: [PATCH] [client] build pull requests and master with GitHub Actions --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..0aaaee3a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: build +on: [push, pull_request] +jobs: + client: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + - 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 + - name: Configure client + run: | + mkdir client/build + cd client/build + cmake .. + - name: Build client + run: | + cd client/build + make -j$(nproc)