Install things on Linux

This commit is contained in:
Patricia Aas 2021-06-22 10:52:17 +02:00 committed by Patricia Aas
parent 591872ea30
commit 8c954d63e0

View file

@ -37,11 +37,14 @@ jobs:
if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04' if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04'
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH 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 - name: Get Clang 11 on Ubuntu
if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04' 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)" run: sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
- name: Create Build Environment - name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory # 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 # We'll use this as our working directory for all subsequent commands