File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,6 +152,32 @@ jobs:
152152 fetch-depth : 0
153153 ref : ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
154154
155+ - name : Dependencies
156+ id : depends
157+ run : |
158+ set -euxo pipefail
159+ sudo apt-get update
160+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a \
161+ apt-get install -y \
162+ build-essential \
163+ python3-venv \
164+ gpg \
165+ wget \
166+ time \
167+ git-lfs
168+
169+ git lfs install
170+
171+ # install the latest cmake
172+ sudo install -d /usr/share/keyrings
173+ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
174+ | gpg --dearmor \
175+ | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
176+ echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' \
177+ | sudo tee /etc/apt/sources.list.d/kitware.list
178+ sudo apt-get update
179+ sudo apt-get install -y cmake
180+
155181 - name : Build
156182 id : cmake_build
157183 run : |
You can’t perform that action at this time.
0 commit comments