Skip to content

Commit 2aac1ae

Browse files
committed
Install git in Docker container
1 parent 318a3a3 commit 2aac1ae

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
container: ${{ matrix.os == 'linux' && 'debian:11' || null }}
4848

4949
steps:
50+
- name: Install git
51+
if: matrix.os == 'linux'
52+
run: |
53+
apt-get update
54+
apt-get install -y git
55+
5056
- name: Checkout code
5157
uses: actions/checkout@v4
5258
with:
@@ -57,13 +63,13 @@ jobs:
5763
run: |
5864
dpkg --add-architecture i386
5965
apt-get update
60-
apt-get install -y build-essential gcc-multilib g++-multilib cmake ninja-build curl zip unzip tar git pkg-config
66+
apt-get install -y build-essential gcc-multilib g++-multilib cmake ninja-build curl zip unzip tar pkg-config
6167
6268
- name: Install Linux dependencies (64-bit)
6369
if: matrix.os == 'linux' && matrix.arch == 'x64'
6470
run: |
6571
apt-get update
66-
apt-get install -y build-essential cmake ninja-build curl zip unzip tar git pkg-config
72+
apt-get install -y build-essential cmake ninja-build curl zip unzip tar pkg-config
6773
6874
- name: Setup vcpkg cache (Linux)
6975
if: matrix.os == 'linux'

0 commit comments

Comments
 (0)