Install things on Linux
This commit is contained in:
parent
591872ea30
commit
8c954d63e0
1 changed files with 4 additions and 1 deletions
5
.github/workflows/cmake.yml
vendored
5
.github/workflows/cmake.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue