Skip to content

Commit

Permalink
don't run apt install on self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
ardera committed Jul 3, 2023
1 parent a98c5c9 commit bbded21
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get install -y \
cmake libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev \
ttf-mscorefonts-installer fontconfig libsystemd-dev libinput-dev libudev-dev \
libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev
# On the self-hosted runners, we assume those are already installed.
# - name: Install dependencies
# run: |
# sudo apt-get install -y \
# cmake libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev \
# ttf-mscorefonts-installer fontconfig libsystemd-dev libinput-dev libudev-dev \
# libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit bbded21

Please sign in to comment.