From 8c954d63e0e1ae5562c19f68086753e6de0342e2 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Tue, 22 Jun 2021 10:52:17 +0200 Subject: [PATCH] Install things on Linux --- .github/workflows/cmake.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bc4acc9..8a45379 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -37,11 +37,14 @@ jobs: if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04' run: echo "/home/runner/.local/bin" >> $GITHUB_PATH + - name: Install Linux dependencies + if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04' + run: sudo apt-get install -y libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev + - name: Get Clang 11 on Ubuntu if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04' run: sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" - - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory # We'll use this as our working directory for all subsequent commands